sc/qa/uitest/calc_tests8/tdf126248.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5ff18d90fda5cda1d06176adac134e6b41f4f393
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Thu Jun 3 16:39:23 2021 +0200
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Thu Jun 3 18:39:04 2021 +0200

    Fix UITest
    
    Don't use "Default" entries in the test - it would break on any system
    with different default locale.
    
    Wait until the change takes place.
    
    Change-Id: Ia3740c65f83c2cbc097a1d86572d381c9d5f8200
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116469
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>
    Tested-by: Jenkins

diff --git a/sc/qa/uitest/calc_tests8/tdf126248.py 
b/sc/qa/uitest/calc_tests8/tdf126248.py
index 146ee8a75131..406a86574657 100644
--- a/sc/qa/uitest/calc_tests8/tdf126248.py
+++ b/sc/qa/uitest/calc_tests8/tdf126248.py
@@ -45,7 +45,7 @@ class tdf126248(UITestCase):
 
         localeSetting = xDialog.getChild("localesetting")
         select_by_text(localeSetting, language)
-
+        self.ui_test.wait_until_property_is_updated(localeSetting, 
'SelectEntryText', language)
         self.assertEqual(language, 
get_state_as_dict(localeSetting)['SelectEntryText'])
 
         xOKBtn = xDialog.getChild("ok")
@@ -80,7 +80,7 @@ class tdf126248(UITestCase):
 
         self.assertFontName(gridwin, eastFontName)
 
-        self.changeLocalSetting("Default - English (USA)")
+        self.changeLocalSetting("English (USA)")
 
         enter_text_to_cell(gridwin, "C1", "Test")
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to