sw/qa/uitest/writer_tests/trackedChanges.py | 2 -- 1 file changed, 2 deletions(-)
New commits: commit a658ece9f9fa308084c3e0f4662dda7afb9a0879 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Wed Sep 2 21:51:02 2020 +0200 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Thu Sep 3 09:17:13 2020 +0200 UITest_writer_tests: don't assert exact page count at test_tdf135018() end For example cd sw; make -sr UITest_writer_tests UITEST_TEST_NAME="trackedChanges.trackedchanges.test_tdf135018" fails for me like this: self.assertEqual(18, document.CurrentController.PageCount) AssertionError: 18 != 17 This is likely because the test document is not carefully preparted to only use bundled fonts. The test mentions that the primary point is to make sure we don't crash, so just give up on asserting the exact page number. Change-Id: I212c02995fd487526d4e2fab7b351d383f9b8459 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101980 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/sw/qa/uitest/writer_tests/trackedChanges.py b/sw/qa/uitest/writer_tests/trackedChanges.py index 53a3e2f356a3..601801ebe6ae 100644 --- a/sw/qa/uitest/writer_tests/trackedChanges.py +++ b/sw/qa/uitest/writer_tests/trackedChanges.py @@ -254,8 +254,6 @@ class trackedchanges(UITestCase): xcloseBtn = xTrackDlg.getChild("close") xcloseBtn.executeAction("CLICK", tuple()) - self.assertEqual(18, document.CurrentController.PageCount) - self.ui_test.close_doc() # vim: set shiftwidth=4 softtabstop=4 expandtab: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits