[Libreoffice-commits] core.git: sc/qa
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Wed Apr 21 14:46:06 UTC 2021
sc/qa/uitest/calc_tests9/tdf141244.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 2056cdca53b694d8c27ef85e4a3679df4608f22c
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Wed Apr 21 12:06:01 2021 +0200
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Wed Apr 21 16:45:22 2021 +0200
uitest: just use enter_text_to_cell here
Change-Id: If55f04a71516e80637c9c26d2ccfcddeac06e90f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114389
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
diff --git a/sc/qa/uitest/calc_tests9/tdf141244.py b/sc/qa/uitest/calc_tests9/tdf141244.py
index d65a35cf2525..2c605108c011 100644
--- a/sc/qa/uitest/calc_tests9/tdf141244.py
+++ b/sc/qa/uitest/calc_tests9/tdf141244.py
@@ -7,7 +7,7 @@
from uitest.framework import UITestCase
from uitest.uihelper.common import get_state_as_dict
from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import type_text
+from uitest.uihelper.calc import enter_text_to_cell
class tdf141244(UITestCase):
@@ -18,9 +18,7 @@ class tdf141244(UITestCase):
calcDoc = self.xUITest.getTopFocusWindow()
gridwin = calcDoc.getChild("grid_window")
- gridwin.executeAction("SELECT", mkPropertyValues({"CELL": "A1"}))
- type_text(gridwin, '=DDE("soffice";"data1.ods";"sheet1.A1")')
- gridwin.executeAction("TYPE", mkPropertyValues({"KEYCODE": "RETURN"}))
+ enter_text_to_cell(gridwin, "A1", '=DDE("soffice";"data1.ods";"sheet1.A1")')
self.ui_test.execute_dialog_through_command(".uno:EditLinks")
xDialog = self.xUITest.getTopFocusWindow()
More information about the Libreoffice-commits
mailing list