diff options
author | Ahmed ElShreif <aelshreif7@gmail.com> | 2020-07-27 18:30:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-07-28 09:04:35 +0200 |
commit | 27798238ecb200e0753b013c79df0e6c014c7a7a (patch) | |
tree | 275cf97188fe833307643df9bb1cc07ad2599fab | |
parent | a177fcb1a5ac8c57c9e491c107943651bd714fd6 (diff) |
uitest : Avoid any timing issue in test_insert_hyperlink
Change-Id: I090e28fb6d902ff0e2f9e7a9ef447133a29a85a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99520
Tested-by: Jenkins
Reviewed-by: Ahmed ElShreif <aelshreif7@gmail.com>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | sw/qa/uitest/writer_tests3/hyperlinkdialog.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/qa/uitest/writer_tests3/hyperlinkdialog.py b/sw/qa/uitest/writer_tests3/hyperlinkdialog.py index 5b414242babc..aafa6ae8d21e 100644 --- a/sw/qa/uitest/writer_tests3/hyperlinkdialog.py +++ b/sw/qa/uitest/writer_tests3/hyperlinkdialog.py @@ -63,6 +63,7 @@ class HyperlinkDialog(UITestCase): xtarget = xDialog.getChild("target") xtarget.executeAction("TYPE", mkPropertyValues({"TEXT": "http://www.libreoffice.org/"})) + self.ui_test.wait_until_property_is_updated(xtarget, "Text", "http://www.libreoffice.org/") self.assertEqual(get_state_as_dict(xtarget)["Text"], "http://www.libreoffice.org/") xindication = xDialog.getChild("indication") |