diff options
-rw-r--r-- | sw/qa/uitest/writer_tests7/tdf131963.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/qa/uitest/writer_tests7/tdf131963.py b/sw/qa/uitest/writer_tests7/tdf131963.py index 6039ab569fec..97cebcc4cedc 100644 --- a/sw/qa/uitest/writer_tests7/tdf131963.py +++ b/sw/qa/uitest/writer_tests7/tdf131963.py @@ -17,6 +17,9 @@ class tdf131963(UITestCase): def test_tdf131963(self): writer_doc = self.ui_test.load_file(get_url_for_data_file("tdf131963.docx")) + document = self.ui_test.get_component() + self.assertEqual(11, document.CurrentController.PageCount) + self.xUITest.executeCommand(".uno:SelectAll") self.xUITest.executeCommand(".uno:Copy") self.ui_test.execute_dialog_through_command(".uno:PasteSpecial") @@ -37,6 +40,9 @@ class tdf131963(UITestCase): # Without the fix in place, it would have crashed here + # tdf#133169: without the fix in place, it would have been 2 instead of 11 + self.assertEqual(11, document.CurrentController.PageCount) + self.ui_test.close_doc() # vim: set shiftwidth=4 softtabstop=4 expandtab: |