sc/qa/uitest/calc_tests8/navigator.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 434f6a1b5a5089ff276918f9756501c91e146759
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Sep 14 14:01:20 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Sep 14 20:34:01 2022 +0200

    try wait_until_property_is_updated in test_tdf134390
    
    ======================================================================
    FAIL: test_tdf134390 (navigator.navigator)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File 
"/home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/sc/qa/uitest/calc_tests8/navigator.py",
 line 143, in test_tdf134390
        self.assertEqual(get_state_as_dict(xColumn)['Value'], '2')
    AssertionError: '1' != '2'
    - 1
    + 2
    
    Change-Id: I7c781191facd10abbb25f895cb0d2bacb72d92ab
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139933
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sc/qa/uitest/calc_tests8/navigator.py 
b/sc/qa/uitest/calc_tests8/navigator.py
index 226e54749a02..574d73c72b41 100644
--- a/sc/qa/uitest/calc_tests8/navigator.py
+++ b/sc/qa/uitest/calc_tests8/navigator.py
@@ -140,7 +140,9 @@ class navigator(UITestCase):
             # Use return to update the current cell
             xColumn.executeAction("TYPE", 
mkPropertyValues({"KEYCODE":"RETURN"}))
 
+            self.ui_test.wait_until_property_is_updated(xColumn, "Value", "2")
             self.assertEqual(get_state_as_dict(xColumn)['Value'], '2')
+            self.ui_test.wait_until_property_is_updated(xRow, "Value", "2")
             self.assertEqual(get_state_as_dict(xRow)['Value'], '2')
 
             self.assertEqual(get_state_as_dict(xGridWin)["CurrentRow"], "1")
@@ -169,4 +171,4 @@ class navigator(UITestCase):
 
             self.xUITest.executeCommand(".uno:Sidebar")
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:

Reply via email to