diff options
author | Oliver Specht <oliver.specht@cib.de> | 2024-02-19 13:40:11 +0100 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2024-02-19 18:07:14 +0100 |
commit | c7ef4b2757a5219e12a9b6a5c68b3512026d1ade (patch) | |
tree | b8b6e71087958ce9269b2beb1bf2e04e7b20c59e | |
parent | 57000eb225476bcd456853230386cbf6e2ed5520 (diff) |
Fix for test related to tdf#157992
KEYCODE is 'RIGHT' not 'KEY_RIGHT'
Change-Id: I908f11db40737d9c188a9f4464f71ac0c67b40dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163595
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
-rw-r--r-- | sw/qa/uitest/writer_tests4/spellDialog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/uitest/writer_tests4/spellDialog.py b/sw/qa/uitest/writer_tests4/spellDialog.py index 801141b75987..91be3cc3a948 100644 --- a/sw/qa/uitest/writer_tests4/spellDialog.py +++ b/sw/qa/uitest/writer_tests4/spellDialog.py @@ -190,7 +190,7 @@ frog, dogg, catt""" with self.ui_test.load_file(get_url_for_data_file("tdf157992.odt")) as document: with self.ui_test.execute_modeless_dialog_through_command(".uno:SpellingAndGrammarDialog", close_button="") as xDialog: sentence = xDialog.getChild('sentence') - sentence.executeAction('TYPE', mkPropertyValues({'KEYCODE':'KEY_RIGHT'})) + sentence.executeAction('TYPE', mkPropertyValues({'KEYCODE':'RIGHT'})) sentence.executeAction('TYPE', mkPropertyValues({'KEYCODE':'DELETE'})) sentence.executeAction('TYPE', mkPropertyValues({'KEYCODE':'DELETE'})) sentence.executeAction('TYPE', mkPropertyValues({'TEXT':'oo'})) |