diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2024-08-22 10:57:05 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-09-03 08:50:20 +0200 |
commit | 149ca1e0a8123b8722ecb74f6f5e8e5080ce6052 (patch) | |
tree | 6bdfef3697cb1e3c6263cc647ae50d74a92a6577 /uitest | |
parent | 95d8964748ec75d3e327dc2719e41a71b256a594 (diff) |
Related tdf#160226 - Math inline editing Off by default
Introduced per
I63672c054d1ead269863079e7f9c118a44b3ba19
Ib2ca942c537e466f6ff100be7f95adaead99f1d5
Change-Id: Iff2bd250c004e57800c84287483965ec3ae49187
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172241
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
(cherry picked from commit cd2eba5c698081355d51c491398119f38068bfb2)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172749
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/math_tests/start.py | 4 | ||||
-rw-r--r-- | uitest/math_tests/tdf147755.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/uitest/math_tests/start.py b/uitest/math_tests/start.py index 7504387a16f7..a2e4ba1d708c 100644 --- a/uitest/math_tests/start.py +++ b/uitest/math_tests/start.py @@ -57,11 +57,11 @@ class SimpleMathTest(UITestCase): xElement.executeAction("DOUBLECLICK", tuple()) xEditView = xMathDoc.getChild("editview") - xEditView.executeAction("TYPE", mkPropertyValues({"KEYCODE":"F4"})) + type_text(xEditView, "1") xEditView.executeAction("TYPE", mkPropertyValues({"KEYCODE":"F4"})) type_text(xEditView, "2") - self.assertEqual("{ 1 <> 2 }", get_state_as_dict(xEditView)["Text"]) + self.assertEqual("1 <> 2 ", get_state_as_dict(xEditView)["Text"]) # vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/math_tests/tdf147755.py b/uitest/math_tests/tdf147755.py index 491974787802..710bf7efa6b4 100644 --- a/uitest/math_tests/tdf147755.py +++ b/uitest/math_tests/tdf147755.py @@ -26,7 +26,7 @@ class Tdf147755(UITestCase): xEditView = xMathDoc.getChild("editview") # Without the fix in place, this test would have failed with - # AssertionError: '%arRay' != '' - self.assertEqual("%arRay", get_state_as_dict(xEditView)["Text"]) + # AssertionError: '%arRay ' != '' + self.assertEqual("%arRay ", get_state_as_dict(xEditView)["Text"]) # vim: set shiftwidth=4 softtabstop=4 expandtab: |