[Libreoffice-commits] core.git: sw/qa

Xisco Fauli (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 3 12:14:41 UTC 2020


 sw/qa/uitest/writer_tests/trackedChanges.py |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 0933bbdd3e297c154a2a01e507ffc6f3f8631d75
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Thu Sep 3 12:37:43 2020 +0200
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Thu Sep 3 14:14:05 2020 +0200

    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 at libreoffice.org>

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:


More information about the Libreoffice-commits mailing list