tdf#164803 sw: Fix SwTextSizeInfo applying grid metrics without grid
[LibreOffice.git] / sfx2 / qa / uitest / doc / objserv.py
blobf67198bd1607f532b4d72b31700a56cc224cf81d
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 from uitest.framework import UITestCase
8 from uitest.uihelper.common import get_url_for_data_file
11 # Test for sfx2/source/doc/objserv.cxx.
12 class Test(UITestCase):
14 def testPdfSigning(self):
15 # Start Impress.
16 with self.ui_test.load_file(get_url_for_data_file("pdf-sign.pdf")):
18 # Now use File -> Digital signatures -> Digital signatures.
19 with self.ui_test.execute_dialog_through_command(".uno:Signature", close_button="close"):
20 # Without the accompanying fix in place, this test would have failed with:
21 # uno.com.sun.star.uno.RuntimeException: Could not find child with id: close vcl/source/uitest/uiobject.cxx:452
22 pass
24 # vim: set shiftwidth=4 softtabstop=4 expandtab: