summaryrefslogtreecommitdiff
path: root/uitest
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2017-01-15 19:34:36 +0100
committerXisco FaulĂ­ <xiscofauli@libreoffice.org>2017-01-15 19:36:17 +0000
commit91f8766db597e25714be0eab8c69510e19865c04 (patch)
tree24b6672048ffb743d1075ca44a92c379da0b1dd1 /uitest
parente8826d0d534a355f9a477eb2393bca1658cb4113 (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>
Diffstat (limited to 'uitest')
-rw-r--r--uitest/writer_tests/tdf92611.py27
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: