diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-02-27 04:09:10 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-02-27 09:45:30 +0000 |
commit | 42122e1e59718bec549e63f4b073aa1821182d71 (patch) | |
tree | 0161a6ea1982b73f18d67ee0e45990043d209eb9 /uitest/writer_tests | |
parent | 48c8675b030ec597f3f7430963841901dbececff (diff) |
uitest: use correct method to close a dialog
Change-Id: Ib62cc9465bb874d48b4e294a6f18d98de04a5518
Reviewed-on: https://gerrit.libreoffice.org/34672
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'uitest/writer_tests')
-rw-r--r-- | uitest/writer_tests/tdf79236.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/writer_tests/tdf79236.py b/uitest/writer_tests/tdf79236.py index 10e9b74e7342..8585e48d8c64 100644 --- a/uitest/writer_tests/tdf79236.py +++ b/uitest/writer_tests/tdf79236.py @@ -93,7 +93,7 @@ class tdf79236(UITestCase): xTopSpnBtn.executeAction("DOWN", tuple()) xOkBtn = xParagraphDlg.getChild("ok") - xOkBtn.executeAction("CLICK", tuple()) + self.ui_test.close_dialog_through_button(xOkBtn) self.assertEqual(document.CurrentSelection.getByIndex(0).ParaLeftMargin, 0) self.assertEqual(document.CurrentSelection.getByIndex(0).ParaRightMargin, 0) |