diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-07-17 01:11:19 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-07-17 01:11:19 +0200 |
commit | e646286c306fc92867641cc399f640b69c0ec62a (patch) | |
tree | 59a9756cbd3150207f233bb5859bf8fbe760fa5f /uitest | |
parent | bf5110d0704ba95d9a080f7dea64162c346317a9 (diff) |
uitest: add initial demo for math edit window
Change-Id: I4fe1dc7fe2f5179dc97fc80a80604d54ae3ad333
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/math_tests/start.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/uitest/math_tests/start.py b/uitest/math_tests/start.py index 10d345039bcc..39b3111a8696 100644 --- a/uitest/math_tests/start.py +++ b/uitest/math_tests/start.py @@ -39,5 +39,15 @@ class SimpleMathTest(UITestCase): self.ui_test.close_doc() + def test_math_edit(self): + self.ui_test.create_doc_in_start_center("math") + + xMathDoc = self.xUITest.getTopFocusWindow() + + xMathEdit = xMathDoc.getChild("math_edit") + + xMathEdit.executeAction("TYPE", mkPropertyValues({"TEXT": "E=mc^2"})) + + self.ui_test.close_doc() # vim:set shiftwidth=4 softtabstop=4 expandtab: */ |