sw/qa/uitest/data/tdf150443.docx |binary sw/qa/uitest/writer_tests8/tdf150443.py | 4 +--- 2 files changed, 1 insertion(+), 3 deletions(-)
New commits: commit 2eba8bb8d43d39eb229a81947907e70f50859a76 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Mon Mar 4 17:40:48 2024 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Mon Mar 4 22:46:36 2024 +0100 tdf#150443: replace missing fonts in testfile This commit reverts 0b21e2a404c114529376dc50764dc0286dafc745 "sw: UITest_writer_tests8 test_tdf150443 more tolerant" Change-Id: If83a7b0a8dc2289aba3201edfdf19d0ca839459a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164392 Tested-by: Xisco Fauli <xiscofa...@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> Tested-by: Jenkins diff --git a/sw/qa/uitest/data/tdf150443.docx b/sw/qa/uitest/data/tdf150443.docx index 162aec01f928..f1897c4712aa 100644 Binary files a/sw/qa/uitest/data/tdf150443.docx and b/sw/qa/uitest/data/tdf150443.docx differ diff --git a/sw/qa/uitest/writer_tests8/tdf150443.py b/sw/qa/uitest/writer_tests8/tdf150443.py index 1dbb74b58918..fb39bd8a0375 100644 --- a/sw/qa/uitest/writer_tests8/tdf150443.py +++ b/sw/qa/uitest/writer_tests8/tdf150443.py @@ -26,9 +26,7 @@ class tdf150443(UITestCase): xsearch = xDialog.getChild("search") xsearch.executeAction("CLICK", tuple()) #first search xToolkit.processEventsToIdle() - page = get_state_as_dict(xWriterEdit)["CurrentPage"] - # page may depend on font substitution, just check it moved - self.assertTrue(page == "4" or page == "5") + self.assertEqual(get_state_as_dict(xWriterEdit)["CurrentPage"], "4") # reject the tracked table row in Manage Changes dialog window with self.ui_test.execute_modeless_dialog_through_command(".uno:AcceptTrackedChanges", close_button="close") as xTrackDlg: