Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / sw / qa / uitest / writer_tests7 / tdf143785.py
blob6e0890b56e8b8e799c0db08f07885aa9aac3f870
1 # -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 from uitest.framework import UITestCase
10 from uitest.uihelper.common import get_url_for_data_file
12 class tdf143785(UITestCase):
14 def test_tdf143785(self):
16 with self.ui_test.load_file(get_url_for_data_file("tdf137802.odt")) as document:
18 self.xUITest.executeCommand(".uno:JumpToNextFrame")
20 self.ui_test.wait_until_child_is_available('metricfield')
22 self.assertEqual(False, document.isModified())
24 with self.ui_test.execute_dialog_through_command(".uno:TransformDialog", close_button="cancel"):
25 pass
27 # Without the fix in place, this test would have failed with
28 # AssertionError: False != True
29 self.assertEqual(False, document.isModified())
31 with self.ui_test.execute_dialog_through_command(".uno:FormatArea", close_button="cancel"):
32 pass
34 # tdf#143778: Without the fix in place, this test would have failed with
35 # AssertionError: False != True
36 self.assertEqual(False, document.isModified())
38 # vim: set shiftwidth=4 softtabstop=4 expandtab: