uitest/writer_tests/tdf104158.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+)
New commits: commit 5930cf87454940a0015e9e18f154759163caf929 Author: Xisco Fauli <aniste...@gmail.com> Date: Fri Jan 13 19:23:10 2017 +0100 tdf#104158: Add uitest Change-Id: If2391365e71df0e95dc1be177e3595a62e0d6eab Reviewed-on: https://gerrit.libreoffice.org/33057 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Xisco Faulà <xiscofa...@libreoffice.org> diff --git a/uitest/writer_tests/tdf104158.py b/uitest/writer_tests/tdf104158.py new file mode 100644 index 0000000..fafbc24 --- /dev/null +++ b/uitest/writer_tests/tdf104158.py @@ -0,0 +1,31 @@ +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +from uitest.framework import UITestCase + +class tdf104158(UITestCase): + + def test_number_format_dialog(self): + + self.ui_test.create_doc_in_start_center("writer") + + self.ui_test.execute_dialog_through_command(".uno:InsertTable") + + xInsertDlg = self.xUITest.getTopFocusWindow() + + xOkBtn = xInsertDlg.getChild("ok") + xOkBtn.executeAction("CLICK", tuple()) + + self.ui_test.execute_dialog_through_command(".uno:TableNumberFormatDialog") + + xNumberFormatDlg = self.xUITest.getTopFocusWindow() + + xOkBtn = xNumberFormatDlg.getChild("ok") + xOkBtn.executeAction("CLICK", tuple()) + + self.ui_test.close_doc() + +# vim: set shiftwidth=4 softtabstop=4 expandtab:
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits