diff options
author | Xisco Fauli <anistenis@gmail.com> | 2017-01-15 19:34:36 +0100 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2017-01-15 19:36:17 +0000 |
commit | 91f8766db597e25714be0eab8c69510e19865c04 (patch) | |
tree | 24b6672048ffb743d1075ca44a92c379da0b1dd1 | |
parent | e8826d0d534a355f9a477eb2393bca1658cb4113 (diff) |
tdf#92611: Add uitest
Change-Id: I9b07b185fd1c3f43c06713d4e5fde8d97b2991ef
Reviewed-on: https://gerrit.libreoffice.org/33099
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
-rw-r--r-- | uitest/writer_tests/tdf92611.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/uitest/writer_tests/tdf92611.py b/uitest/writer_tests/tdf92611.py new file mode 100644 index 000000000000..0b6007bfeb6d --- /dev/null +++ b/uitest/writer_tests/tdf92611.py @@ -0,0 +1,27 @@ +# +# 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 +import time + +class tdf92611(UITestCase): + + def test_launch_and_close_bibliography(self): + + self.ui_test.create_doc_in_start_center("writer") + + + self.xUITest.executeCommand(".uno:BibliographyComponent") + + time.sleep(2) + + self.xUITest.executeCommand(".uno:CloseWin") + + time.sleep(2) + + self.ui_test.close_doc() + +# vim: set shiftwidth=4 softtabstop=4 expandtab: |