[Libreoffice-commits] core.git: uitest/writer_tests
Xisco Fauli
anistenis at gmail.com
Sun Jan 15 19:36:38 UTC 2017
uitest/writer_tests/tdf92611.py | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
New commits:
commit 91f8766db597e25714be0eab8c69510e19865c04
Author: Xisco Fauli <anistenis at gmail.com>
Date: Sun Jan 15 19:34:36 2017 +0100
tdf#92611: Add uitest
Change-Id: I9b07b185fd1c3f43c06713d4e5fde8d97b2991ef
Reviewed-on: https://gerrit.libreoffice.org/33099
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Xisco FaulĂ <xiscofauli at libreoffice.org>
diff --git a/uitest/writer_tests/tdf92611.py b/uitest/writer_tests/tdf92611.py
new file mode 100644
index 0000000..0b6007b
--- /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:
More information about the Libreoffice-commits
mailing list