sw/qa/uitest/writer_tests4/tdf148395.py |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit fe3be12afd810e17427601178b5d186364bef8de
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Mon Jun 13 21:48:08 2022 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue Jun 14 09:59:18 2022 +0200

    sw: uitest: remove assert that fails depending on which...
    
    ... components are installed
    
    Change-Id: Ib0090d6afcc824942ac9a0c89757ba7faf068637
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135740
    Tested-by: René Engelhard <r...@debian.org>
    Reviewed-by: René Engelhard <r...@debian.org>
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

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:

Reply via email to