[Libreoffice-commits] dev-tools.git: uitest/mass-testing
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jun 16 07:34:11 UTC 2020
uitest/mass-testing/writer.py | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 53d7d6165feab6e3fdb10cac0fde93e3a2a90f7b
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Tue Jun 16 09:33:16 2020 +0200
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Tue Jun 16 09:33:16 2020 +0200
mass-uitesting: use select all three times
Change-Id: I0f2c263784203e527f72e59f037e7d5c4aaa814a
diff --git a/uitest/mass-testing/writer.py b/uitest/mass-testing/writer.py
index 104e4c7..9f93ed8 100755
--- a/uitest/mass-testing/writer.py
+++ b/uitest/mass-testing/writer.py
@@ -42,6 +42,8 @@ class massTesting(UITestCase):
def test_remove_all_and_undo(self):
xEdit = self.load_file()
if xEdit:
+ self.xUITest.executeCommand(".uno:SelectAll")
+ self.xUITest.executeCommand(".uno:SelectAll")
self.xUITest.executeCommand(".uno:SelectAll")
xEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE":"DELETE"}))
@@ -75,6 +77,8 @@ class massTesting(UITestCase):
xEdit = self.load_file()
if xEdit:
self.xUITest.executeCommand(".uno:SelectAll")
+ self.xUITest.executeCommand(".uno:SelectAll")
+ self.xUITest.executeCommand(".uno:SelectAll")
self.xUITest.executeCommand(".uno:Copy")
More information about the Libreoffice-commits
mailing list