diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-06-11 11:33:53 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-06-11 16:24:22 +0200 |
commit | 4407ee148ca5b44a66b212b9c89d9f0e602f0f00 (patch) | |
tree | 71fdc8d5187256e1935016cb6dac404880afffe3 /uitest | |
parent | c392ecfa734731194c366e869a3c2475c53dc867 (diff) |
tdf#133862: sw: Add UItest
Change-Id: Id08dc6fbbdb59888ecab29e922d84db75f97e779
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96087
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/writer_tests8/customizeDialog.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/uitest/writer_tests8/customizeDialog.py b/uitest/writer_tests8/customizeDialog.py index 92fddfdff3b4..dfc6ae771e1b 100644 --- a/uitest/writer_tests8/customizeDialog.py +++ b/uitest/writer_tests8/customizeDialog.py @@ -89,4 +89,19 @@ class ConfigureDialog(UITestCase): self.ui_test.close_doc() + def test_tdf133862(self): + self.ui_test.create_doc_in_start_center("writer") + + self.xUITest.executeCommand(".uno:InsertObjectStarMath") + + # Without the fix in place, calling customize dialog after inserting + # a formula object would crash + self.ui_test.execute_dialog_through_command(".uno:ConfigureDialog") + xDialog = self.xUITest.getTopFocusWindow() + + xcancBtn = xDialog.getChild("cancel") + xcancBtn.executeAction("CLICK", tuple()) + + self.ui_test.close_doc() + # vim: set shiftwidth=4 softtabstop=4 expandtab: |