[Libreoffice-commits] core.git: sc/qa
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Wed Nov 4 12:54:22 UTC 2020
sc/qa/uitest/range_name/tdf137617.py | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
New commits:
commit d1232ee6b5e5cc3c811ef3ad72c83e9bd884bfe3
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Wed Nov 4 12:26:17 2020 +0100
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Wed Nov 4 13:53:46 2020 +0100
uitest: reset formula syntax back to Calc A1
otherwise, it will interfere with other tests
Change-Id: Ib671d0e5e0a0d47a42ed911d4f9de68b2f7fee9e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105288
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
diff --git a/sc/qa/uitest/range_name/tdf137617.py b/sc/qa/uitest/range_name/tdf137617.py
index 78039ff81369..f0184e4ad6d9 100644
--- a/sc/qa/uitest/range_name/tdf137617.py
+++ b/sc/qa/uitest/range_name/tdf137617.py
@@ -93,6 +93,25 @@ class tdf137617(UITestCase):
self.assertEqual('Result4', get_state_as_dict(xPosWindow)['Text'])
+ # Change formula syntax back to "Calc A1"
+ self.ui_test.execute_dialog_through_command(".uno:OptionsTreeDialog")
+ xDialogOpt = self.xUITest.getTopFocusWindow()
+
+ xPages = xDialogOpt.getChild("pages")
+ xCalcEntry = xPages.getChild('3')
+ xCalcEntry.executeAction("EXPAND", tuple())
+ xCalcFormulaEntry = xCalcEntry.getChild('4')
+ xCalcFormulaEntry.executeAction("SELECT", tuple())
+
+ xFormulaSyntax = xDialogOpt.getChild('formulasyntax')
+
+ props = {"TEXT": "Calc A1"}
+ actionProps = mkPropertyValues(props)
+ xFormulaSyntax.executeAction("SELECT", actionProps)
+
+ xOKBtn = xDialogOpt.getChild("ok")
+ self.ui_test.close_dialog_through_button(xOKBtn)
+
self.ui_test.close_doc()
# vim: set shiftwidth=4 softtabstop=4 expandtab:
More information about the Libreoffice-commits
mailing list