diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-03-10 11:48:37 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-03-10 13:10:39 +0100 |
commit | 9b52e7ab543406783a1535d03856a8b13b554a70 (patch) | |
tree | 632c484678b60e1b2521a906a23a985dbe3b7521 /uitest/math_tests | |
parent | 5a348c9881c1574604d0e6dcb9ea4fbfebcc7e21 (diff) |
tdf#140386: math: Add UItest
Change-Id: I7347619ce190778ca12e5bb56c23600efad3af95
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131311
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'uitest/math_tests')
-rw-r--r-- | uitest/math_tests/start.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/uitest/math_tests/start.py b/uitest/math_tests/start.py index 08914f9954eb..a7e5ac6fdccd 100644 --- a/uitest/math_tests/start.py +++ b/uitest/math_tests/start.py @@ -19,6 +19,18 @@ import platform class SimpleMathTest(UITestCase): + def test_math_unoCommand(self): + with self.ui_test.create_doc_in_start_center("math"): + + xMathDoc = self.xUITest.getTopFocusWindow() + + # tdf#140386 + self.xUITest.executeCommand(".uno:InsertCommandText?Text:string=backepsilon") + + xEditView = xMathDoc.getChild("editview") + + self.assertEqual("backepsilon", get_state_as_dict(xEditView)["Text"]) + def test_math_edit(self): with self.ui_test.create_doc_in_start_center("math"): |