dev/null                             |binary
 sc/qa/uitest/calc_tests9/tdf91217.py |   39 -----------------------------------
 2 files changed, 39 deletions(-)

New commits:
commit b633ab7a53aec033ba933c4ebc48a4fbe56d6c4b
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Tue Mar 15 17:45:18 2022 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue Mar 15 19:25:33 2022 +0100

    tdf#91217: sc: remove disabled UItest
    
    Besides, tdf#91217 is a duplicated of tdf#90694 and
    I've implemented a CppUnittest for that bug in
    https://gerrit.libreoffice.org/c/core/+/131619
    
    Change-Id: Ic7d1eb2997e4bf32d81b983a8e4f3fbdae059909
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131620
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sc/qa/uitest/calc_tests9/tdf91217.py 
b/sc/qa/uitest/calc_tests9/tdf91217.py
deleted file mode 100644
index 7a56e7dec78e..000000000000
--- a/sc/qa/uitest/calc_tests9/tdf91217.py
+++ /dev/null
@@ -1,39 +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_state_as_dict, get_url_for_data_file
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
-from libreoffice.uno.propertyvalue import mkPropertyValues
-
-#Bug 91217 - Crash when deleting rows
-
-class tdf91217(UITestCase):
-    def test_tdf91217_crash_deleting_rows(self):
-        # FIXME disable this will it's clear what existing problem did this 
test uncover.
-        return
-        with self.ui_test.load_file(get_url_for_data_file("tdf91217.ods")) as 
calc_doc:
-            xCalcDoc = self.xUITest.getTopFocusWindow()
-            gridwin = xCalcDoc.getChild("grid_window")
-            #Select rows 76-1125 in sheet 3 (Daily), right click, Delete Rows. 
 Instant crash.
-            gridwin.executeAction("SELECT", mkPropertyValues({"RANGE": 
"A76:A1125"}))
-            self.xUITest.executeCommand(".uno:SelectRow")
-            #delete rows
-            self.xUITest.executeCommand(".uno:DeleteRows")
-            #A1 should be "Dist"
-            self.assertEqual(get_cell_by_position(calc_doc, 0, 0, 
0).getString(), "Dist")
-            #- Undo-redo
-            self.xUITest.executeCommand(".uno:Undo")
-            self.assertEqual(get_cell_by_position(calc_doc, 0, 0, 
0).getString(), "Dist")
-
-            self.xUITest.executeCommand(".uno:Redo")
-            self.assertEqual(get_cell_by_position(calc_doc, 0, 0, 
0).getString(), "Dist")
-
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/data/tdf91217.ods b/sc/qa/uitest/data/tdf91217.ods
deleted file mode 100644
index c1bb9da85c94..000000000000
Binary files a/sc/qa/uitest/data/tdf91217.ods and /dev/null differ

Reply via email to