diff options
author | Xisco Fauli <anistenis@gmail.com> | 2017-01-13 19:23:10 +0100 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2017-01-14 09:30:30 +0000 |
commit | 5930cf87454940a0015e9e18f154759163caf929 (patch) | |
tree | e104981b9b70415f495c456dfe97b273709588d7 /uitest | |
parent | 9cb3b064e55fcb8d44698bec7aae76edd44b06a3 (diff) |
tdf#104158: Add uitest
Change-Id: If2391365e71df0e95dc1be177e3595a62e0d6eab
Reviewed-on: https://gerrit.libreoffice.org/33057
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/writer_tests/tdf104158.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/uitest/writer_tests/tdf104158.py b/uitest/writer_tests/tdf104158.py new file mode 100644 index 000000000000..fafbc24d78d1 --- /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: |