summaryrefslogtreecommitdiff
path: root/sw/qa/uitest
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2020-09-03 12:37:43 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2020-09-03 14:14:05 +0200
commit0933bbdd3e297c154a2a01e507ffc6f3f8631d75 (patch)
treebc69406ffa4d2876aa4ed392906f250fed0781d3 /sw/qa/uitest
parent4a43e781d0920c1534cd44339e624f9cc76ae298 (diff)
UITest_writer_tests: at least check the number of pages has changed
and the tracked changes are shown follow-up of a658ece9f9fa308084c3e0f4662dda7afb9a0879 Change-Id: Icf4a482ad7e23cd34a063e3c1076e2b7849dd78c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101995 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/qa/uitest')
-rw-r--r--sw/qa/uitest/writer_tests/trackedChanges.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/qa/uitest/writer_tests/trackedChanges.py b/sw/qa/uitest/writer_tests/trackedChanges.py
index 601801ebe6ae..82554aa6aeca 100644
--- a/sw/qa/uitest/writer_tests/trackedChanges.py
+++ b/sw/qa/uitest/writer_tests/trackedChanges.py
@@ -254,6 +254,9 @@ class trackedchanges(UITestCase):
xcloseBtn = xTrackDlg.getChild("close")
xcloseBtn.executeAction("CLICK", tuple())
+ # Check the changes are shown after opening the Manage Tracked Changes dialog
+ self.assertGreater(document.CurrentController.PageCount, 5)
+
self.ui_test.close_doc()
# vim: set shiftwidth=4 softtabstop=4 expandtab: