uitest/writer_tests/tdf92611.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
New commits: commit 91f8766db597e25714be0eab8c69510e19865c04 Author: Xisco Fauli <aniste...@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 <c...@libreoffice.org> Reviewed-by: Xisco Faulà <xiscofa...@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:
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits