diff options
-rw-r--r-- | sw/qa/uitest/data/tdf140198.odt | bin | 0 -> 8667 bytes | |||
-rw-r--r-- | sw/qa/uitest/writer_tests7/forms.py | 15 |
2 files changed, 15 insertions, 0 deletions
diff --git a/sw/qa/uitest/data/tdf140198.odt b/sw/qa/uitest/data/tdf140198.odt Binary files differnew file mode 100644 index 000000000000..087466b8155a --- /dev/null +++ b/sw/qa/uitest/data/tdf140198.odt diff --git a/sw/qa/uitest/writer_tests7/forms.py b/sw/qa/uitest/writer_tests7/forms.py index d54236c64dd4..5c8f22ba08c2 100644 --- a/sw/qa/uitest/writer_tests7/forms.py +++ b/sw/qa/uitest/writer_tests7/forms.py @@ -24,4 +24,19 @@ class Forms(UITestCase): self.assertEqual("Yes", get_state_as_dict(xChild)['SelectEntryText']) self.ui_test.close_doc() + + def test_tdf140198(self): + + self.ui_test.load_file(get_url_for_data_file("tdf140198.odt")) + + self.xUITest.executeCommand(".uno:JumpToNextFrame") + + self.ui_test.execute_modeless_dialog_through_command(".uno:ControlProperties") + xChild = self.ui_test.wait_until_child_is_available('listbox-Text type') + + # Without the fix in place, this test would have failed with + # AssertionError: 'Multi-line' != 'Single-line' + self.assertEqual("Multi-line", get_state_as_dict(xChild)['SelectEntryText']) + + self.ui_test.close_doc() # vim: set shiftwidth=4 softtabstop=4 expandtab: |