diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2019-12-28 00:03:09 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-12-28 00:19:17 +0100 |
commit | e22a3f596ce50b5166063e217d96ef674a54d380 (patch) | |
tree | 1acc1a07c2261b0bcc27b3d3c2ccfefa51fe4108 /UnoControls | |
parent | 77e7d43c67c69dcc1cba574c04773b3cca1794b1 (diff) |
UITest: fix spellDialog.SpellingAndGrammarDialog.test_tdf46852
Two problems were present:
1. If local system default locale is not en_US, then in created document,
text has some other language initially; and instrted text also gets this
language. This may result in no replacement suggestions for the spelling
errors, and "changeall" is not active, so expected sequence of changes
and clicks does not happen. Fixed by setting language at cursor before
paste explicitly.
2. On Windows, the returned text has \r\n paragraph breaks, which didn't
match the regex having \n. Fixed by postprocessing the text before match.
Change-Id: I320fc62c3c27dfe699fb45669c081df30cb66d6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85877
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'UnoControls')
0 files changed, 0 insertions, 0 deletions