nss: upgrade to release 3.73
[LibreOffice.git] / sd / qa / uitest / impress_tests / tdf126605.py
blob744324717a6b095dcc58f80dd8f634b84c847e36
1 # -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 from uitest.framework import UITestCase
8 from libreoffice.uno.propertyvalue import mkPropertyValues
10 class tdf126605(UITestCase):
12 def test_run(self):
13 self.ui_test.create_doc_in_start_center("impress")
14 xTemplateDlg = self.xUITest.getTopFocusWindow()
15 xCancelBtn = xTemplateDlg.getChild("cancel")
16 self.ui_test.close_dialog_through_button(xCancelBtn)
18 xDoc = self.xUITest.getTopFocusWindow()
19 xEdit = xDoc.getChild("impress_win")
20 xEdit.executeAction("TYPE", mkPropertyValues({"TEXT":"test"}))
22 # Without the accompanying fix in place, it would crash at this point
23 self.xUITest.executeCommand(".uno:ParaRightToLeft")
24 self.xUITest.executeCommand(".uno:ParaLeftToRight")
26 self.ui_test.close_doc()
28 # vim: set shiftwidth=4 softtabstop=4 expandtab: