sw/qa/uitest/writer_tests7/forms.py |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 89f64b9f0dcdc27fdc6827b5aca42af1b38ede25
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Thu Nov 25 14:36:48 2021 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Thu Nov 25 16:46:00 2021 +0100

    uitest: blind fix for UITest_writer_tests7 failed
    
    Traceback (most recent call last):
      File 
"/home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/sw/qa/uitest/writer_tests7/forms.py",
 line 76, in test_tdf140239
        self.assertEqual("true", get_state_as_dict(xURL)['Enabled'])
    AssertionError: 'true' != 'false'
    - true
    + false
    
    Change-Id: I535f1dd5d755b5896faa55651f5a1ff6c58cec4b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125814
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sw/qa/uitest/writer_tests7/forms.py 
b/sw/qa/uitest/writer_tests7/forms.py
index f8a9ee9db124..1b427b4ebfb0 100644
--- a/sw/qa/uitest/writer_tests7/forms.py
+++ b/sw/qa/uitest/writer_tests7/forms.py
@@ -73,6 +73,8 @@ class Forms(UITestCase):
                 select_by_text(xAction, "Open document/web page")
 
                 self.assertEqual("Open document/web page", 
get_state_as_dict(xAction)['SelectEntryText'])
+
+                self.ui_test.wait_until_property_is_updated(xURL, "Enabled", 
"true")
                 self.assertEqual("true", get_state_as_dict(xURL)['Enabled'])
 
                 xURL.executeAction("TYPE", mkPropertyValues({"TEXT": "1"}))

Reply via email to