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

New commits:
commit 4fd5f36ebf4e262fa760921805a9874552b54464
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Thu Nov 25 14:36:48 2021 +0100
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Thu Feb 24 14:20:25 2022 +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>
    (cherry picked from commit 89f64b9f0dcdc27fdc6827b5aca42af1b38ede25)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130494
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/sw/qa/uitest/writer_tests7/forms.py 
b/sw/qa/uitest/writer_tests7/forms.py
index b931c5d6f3fb..e0184d5c1795 100644
--- a/sw/qa/uitest/writer_tests7/forms.py
+++ b/sw/qa/uitest/writer_tests7/forms.py
@@ -80,6 +80,7 @@ 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