[Libreoffice-commits] core.git: sw/qa
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jul 5 13:13:10 UTC 2021
sw/qa/uitest/writer_tests7/tdf140731.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 94319445e2e5774b38805dea4cc54caf8e0a7320
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Mon Jul 5 13:53:54 2021 +0200
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Mon Jul 5 15:12:35 2021 +0200
uitest: just use UNO commands
Change-Id: I54b03ef19dd295001813e2e3000c073c2771e8c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118434
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
diff --git a/sw/qa/uitest/writer_tests7/tdf140731.py b/sw/qa/uitest/writer_tests7/tdf140731.py
index 8123d68e8bae..3d70ce8839ea 100644
--- a/sw/qa/uitest/writer_tests7/tdf140731.py
+++ b/sw/qa/uitest/writer_tests7/tdf140731.py
@@ -21,9 +21,9 @@ class tdf140731(UITestCase):
#generating a big text with ~60k words and several paragraphs
for i in range(0,8):
self.xUITest.executeCommand(".uno:SelectAll")
- xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+c"}))
- xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+v"}))
- xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+v"}))
+ self.xUITest.executeCommand(".uno:Copy")
+ self.xUITest.executeCommand(".uno:Paste")
+ self.xUITest.executeCommand(".uno:Paste")
xWriterEdit.executeAction("GOTO", mkPropertyValues({"PAGE": "1"}))
#Format->Text operations on small selections (which would generate <~500 redlines), changetracking still working
More information about the Libreoffice-commits
mailing list