summaryrefslogtreecommitdiff
path: root/uitest/writer_tests
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/writer_tests')
-rw-r--r--uitest/writer_tests/tdf79236.py2
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)