summaryrefslogtreecommitdiff
path: root/sw/qa/uitest/writer_tests8
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-03-04 17:40:48 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2024-03-04 22:46:36 +0100
commit2eba8bb8d43d39eb229a81947907e70f50859a76 (patch)
tree0d25f8a7b97c9887ec3a7d597f80753ab8fc9555 /sw/qa/uitest/writer_tests8
parent893af92ae990909d477434d48d97dae0814e7e58 (diff)
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 <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'sw/qa/uitest/writer_tests8')
-rw-r--r--sw/qa/uitest/writer_tests8/tdf150443.py4
1 files changed, 1 insertions, 3 deletions
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: