sw/qa/uitest/writer_tests5/tdf167023.py | 37 -------------------------------- 1 file changed, 37 deletions(-)
New commits: commit 6bb4d0ba417055432d6053fe5a46d5b5ea89ac86 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Tue Jul 15 08:49:05 2025 +0200 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue Jul 15 09:55:47 2025 +0200 Revert "tdf#167023, tdf#167018: sw: Add UItest" This reverts commit b4dc0284eccf692647ff96e484a19abf88e3d219, till it's fixed to actually pass on co-25.04. Change-Id: I259e6167e867c10fb18559bfb6fa6040bff33859 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187890 Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sw/qa/uitest/writer_tests5/tdf167023.py b/sw/qa/uitest/writer_tests5/tdf167023.py deleted file mode 100644 index 61dfd8e8ed34..000000000000 --- a/sw/qa/uitest/writer_tests5/tdf167023.py +++ /dev/null @@ -1,37 +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 libreoffice.uno.propertyvalue import mkPropertyValues - -class tdf167023(UITestCase): - - def test_tdf167023(self): - - with self.ui_test.create_doc_in_start_center("writer") as document: - - # Insert shape with Ctrl key - xArgs = mkPropertyValues({"KeyModifier": 8192}) - self.xUITest.executeCommandWithParameters(".uno:BasicShapes.rectangle", xArgs) - - self.assertEqual(1, len(document.DrawPage)) - - self.xUITest.executeCommand(".uno:Copy") - - with self.ui_test.load_empty_file("impress") as document: - - xDoc = self.xUITest.getTopFocusWindow() - xEditWin = xDoc.getChild("impress_win") - - # tdf#167018: Without the fix in place, this test would have crashed here - self.xUITest.executeCommand(".uno:Paste") - - self.assertEqual(3, len(document.DrawPages[0])) - -# vim: set shiftwidth=4 softtabstop=4 expandtab: