sc/qa/uitest/sort/tdf91305.py | 22 ---------------------- 1 file changed, 22 deletions(-)
New commits: commit badbacff3e124d6dcb2e656c97dc25a3d9ae5761 Author: Xisco Fauli <[email protected]> AuthorDate: Thu Nov 18 18:51:36 2021 +0100 Commit: Xisco Fauli <[email protected]> CommitDate: Thu Nov 18 20:02:04 2021 +0100 uitest: sc: remove duplicated test with the same name In the file, there are two test_tdf91305_sort_text_cells_rows so this one is never executed. Just remove it because it's quite a basic test Change-Id: I255b4202359e20744845fbdcbf963e74b9ee0710 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125490 Tested-by: Xisco Fauli <[email protected]> Reviewed-by: Xisco Fauli <[email protected]> diff --git a/sc/qa/uitest/sort/tdf91305.py b/sc/qa/uitest/sort/tdf91305.py index 73213db22eee..0f1d5d8d769f 100644 --- a/sc/qa/uitest/sort/tdf91305.py +++ b/sc/qa/uitest/sort/tdf91305.py @@ -17,28 +17,6 @@ from libreoffice.uno.propertyvalue import mkPropertyValues class tdf91305(UITestCase): - def test_tdf91305_sort_text_cells_rows(self): - with self.ui_test.create_doc_in_start_center("calc") as document: - xCalcDoc = self.xUITest.getTopFocusWindow() - gridwin = xCalcDoc.getChild("grid_window") - #In column A enter texts - enter_text_to_cell(gridwin, "A1", "cc") - enter_text_to_cell(gridwin, "A2", "ff") - enter_text_to_cell(gridwin, "A3", "aa") - - gridwin.executeAction("SELECT", mkPropertyValues({"RANGE": "A1:A3"})) - #Press toolbarbutton for ascending sorting .uno:SortAsc - self.xUITest.executeCommand(".uno:SortAscending") - #verify - self.assertEqual(get_cell_by_position(document, 0, 0, 0).getString(), "aa") - self.assertEqual(get_cell_by_position(document, 0, 0, 1).getString(), "cc") - self.assertEqual(get_cell_by_position(document, 0, 0, 2).getString(), "ff") - #Press toolbarbutton for descending sorting .uno:SortDescending - self.xUITest.executeCommand(".uno:SortDescending") - self.assertEqual(get_cell_by_position(document, 0, 0, 0).getString(), "ff") - self.assertEqual(get_cell_by_position(document, 0, 0, 1).getString(), "cc") - self.assertEqual(get_cell_by_position(document, 0, 0, 2).getString(), "aa") - def test_tdf91305_sort_text_cells_columns(self): with self.ui_test.create_doc_in_start_center("calc") as document: xCalcDoc = self.xUITest.getTopFocusWindow()
