summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-06-13 21:48:08 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2022-06-14 09:54:04 +0200
commit7353b79dfb7c206e99865e345c31b4da27111715 (patch)
tree9e8603840438a449e8e2e0aa90478b39b39df91a
parentd0f61d94d6bd3e377083eba2c2de84442963c017 (diff)
sw: uitest: remove assert that fails depending on which...
... components are installed Change-Id: Ib0090d6afcc824942ac9a0c89757ba7faf068637 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135798 Tested-by: René Engelhard <rene@debian.org> Reviewed-by: René Engelhard <rene@debian.org> Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r--sw/qa/uitest/writer_tests4/tdf148395.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/qa/uitest/writer_tests4/tdf148395.py b/sw/qa/uitest/writer_tests4/tdf148395.py
index 2687715f7db2..312733525758 100644
--- a/sw/qa/uitest/writer_tests4/tdf148395.py
+++ b/sw/qa/uitest/writer_tests4/tdf148395.py
@@ -26,10 +26,8 @@ class Tdf148395(UITestCase):
xSelectedEntry = get_state_as_dict(xTypes)['SelectEntryText']
self.assertTrue('Spreadsheet' in xSelectedEntry )
- # On Windows, there's also 6th item: "Further objects"
- self.assertLessEqual('5', get_state_as_dict(xTypes)['Children'])
- for i in range(5):
+ for i in range(10):
xTypes.executeAction("TYPE", mkPropertyValues({"KEYCODE": "DOWN"}))
xSelectedEntry = get_state_as_dict(xTypes)['SelectEntryText']
if 'Chart' in xSelectedEntry: