summaryrefslogtreecommitdiff
path: root/sc/qa/uitest
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-04-05 14:03:38 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2022-04-05 16:42:22 +0200
commit28318bed905f21d25aa69d4153858e91b6d13cd1 (patch)
tree03c81c17dc1aff23e5ae615fd6fde961d568290a /sc/qa/uitest
parent7d7b413827368e79acf44e77da7022992152433b (diff)
tdf#99386: sc: move UItest to CppUnittest
Change-Id: I8e79fd47abe238cbee47eed07ab3840f77dac431 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132573 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc/qa/uitest')
-rw-r--r--sc/qa/uitest/calc_tests4/tdf99386.py30
-rw-r--r--sc/qa/uitest/data/tdf99386.odsbin9128 -> 0 bytes
2 files changed, 0 insertions, 30 deletions
diff --git a/sc/qa/uitest/calc_tests4/tdf99386.py b/sc/qa/uitest/calc_tests4/tdf99386.py
deleted file mode 100644
index 4f03793535e6..000000000000
--- a/sc/qa/uitest/calc_tests4/tdf99386.py
+++ /dev/null
@@ -1,30 +0,0 @@
-# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-
-from uitest.framework import UITestCase
-from uitest.uihelper.common import get_url_for_data_file
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from libreoffice.calc.document import get_cell_by_position
-
-class tdf99386(UITestCase):
-
- def test_td99386_undo_merged_cell_needs_hard_recalculate(self):
-
- with self.ui_test.load_file(get_url_for_data_file("tdf99386.ods")) as calc_doc:
-
- xCalcDoc = self.xUITest.getTopFocusWindow()
- xGridWindow = xCalcDoc.getChild("grid_window")
-
- xGridWindow.executeAction("SELECT", mkPropertyValues({"RANGE": "A1:B1"})) #select cells
- self.xUITest.executeCommand(".uno:ToggleMergeCells") # merge cells
- self.xUITest.executeCommand(".uno:Undo")
-
- self.assertEqual(get_cell_by_position(calc_doc, 0, 1, 1).getString(), "This")
-
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/data/tdf99386.ods b/sc/qa/uitest/data/tdf99386.ods
deleted file mode 100644
index 767d0ead49e2..000000000000
--- a/sc/qa/uitest/data/tdf99386.ods
+++ /dev/null
Binary files differ