diff options
author | László Németh <nemeth@numbertext.org> | 2023-01-02 18:57:48 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2023-01-03 11:25:41 +0000 |
commit | d2614337e8291b9b6d114fda5ae914f6940c353a (patch) | |
tree | b628f6a6f81a52ea8d9cd28b08e6b1ed5f396001 /sw/qa/uitest | |
parent | c9129bd97a9514e5679ed65bdf5879718f1b476d (diff) |
tdf#65535 sw spellDialog.py: add same latency to fix lo-upsan build
The problem reported by Stephan Bergmann:
FAIL: test_tdf65535 (spellDialog.SpellingAndGrammarDialog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tdf/lode/jenkins/workspace/lo_ubsan/sw/qa/uitest/writer_tests4/spellDialog.py", line 237, in test_tdf65535
self.assertEqual("Bad baad", output_text)
AssertionError: 'Bad baad' != 'Baad baad'
- Bad baad
+ Baad baad
? +
Change-Id: Icd656544946f3d6b67fefd9980872bbee6608fab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144964
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/qa/uitest')
-rw-r--r-- | sw/qa/uitest/writer_tests4/spellDialog.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/qa/uitest/writer_tests4/spellDialog.py b/sw/qa/uitest/writer_tests4/spellDialog.py index d7990cdf494e..9fd9d16cee74 100644 --- a/sw/qa/uitest/writer_tests4/spellDialog.py +++ b/sw/qa/uitest/writer_tests4/spellDialog.py @@ -233,6 +233,10 @@ frog, dogg, catt""" change = xDialog.getChild('change') change.executeAction("CLICK", ()) + # fix UPSAN build + import time + time.sleep(0.2) + output_text = document.Text.getString() self.assertEqual("Bad baad", output_text) |