diff options
Diffstat (limited to 'sc/qa/uitest/statistics/movingAverage.py')
-rw-r--r-- | sc/qa/uitest/statistics/movingAverage.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/qa/uitest/statistics/movingAverage.py b/sc/qa/uitest/statistics/movingAverage.py index ebb819fbfa3e..9f94aaf29856 100644 --- a/sc/qa/uitest/statistics/movingAverage.py +++ b/sc/qa/uitest/statistics/movingAverage.py @@ -103,6 +103,12 @@ class movingAverage(UITestCase): self.xUITest.executeCommand(".uno:Undo") self.assertEqual(get_cell_by_position(document, 0, 5, 0).getString(), "") + # test cancel button + self.ui_test.execute_modeless_dialog_through_command(".uno:MovingAverageDialog") + xDialog = self.xUITest.getTopFocusWindow() + xCancelBtn = xDialog.getChild("cancel") + self.ui_test.close_dialog_through_button(xCancelBtn) + self.ui_test.close_doc() def test_moving_average_row(self): @@ -173,4 +179,4 @@ class movingAverage(UITestCase): self.ui_test.close_doc() -# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file +# vim: set shiftwidth=4 softtabstop=4 expandtab: |