Kaydet (Commit) 42122e1e authored tarafından Markus Mohrhard's avatar Markus Mohrhard

uitest: use correct method to close a dialog

Change-Id: Ib62cc9465bb874d48b4e294a6f18d98de04a5518
Reviewed-on: https://gerrit.libreoffice.org/34672Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 48c8675b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment