diff --git a/test/verify/check-pages b/test/verify/check-pages index c80fecbe548..a437d426fab 100755 --- a/test/verify/check-pages +++ b/test/verify/check-pages @@ -252,7 +252,7 @@ OnCalendar=daily b.wait_text("#password-group > label", "Passwort") # Test all languages - # Test that pages do not oops and that locale is valid + # Test that pages do not oops if not m.image.startswith("rhel-"): return @@ -270,6 +270,8 @@ OnCalendar=daily self.assertIn('en-us', languages) b.click("#display-language-modal footer button.pf-m-link") # Close the menu + is_pybridge = self.is_pybridge() + for language in languages: # Remove failed units which will show up in the first terminal line m.execute("systemctl reset-failed") @@ -282,21 +284,22 @@ OnCalendar=daily b.click("#display-language-modal footer button.pf-m-primary") b.wait_language(language) - # Test some pages, end up in terminal + # Test some pages for page in pages: b.go(page) b.enter_page(page) b.wait_language(language) - locale = language.split("-") - if len(locale) == 1: - locale.append("") - locale = f"{locale[0]}_{locale[1].upper()}.UTF-8" + if not is_pybridge: + locale = language.split("-") + if len(locale) == 1: + locale.append("") + locale = f"{locale[0]}_{locale[1].upper()}.UTF-8" - b.wait_visible(".terminal .xterm-accessibility-tree") - b.wait_in_text(line_sel(1), "admin") - b.key_press("echo $LANG\r") - b.wait_in_text(line_sel(2), locale) + b.wait_visible(".terminal .xterm-accessibility-tree") + b.wait_in_text(line_sel(1), "admin") + b.key_press("echo $LANG\r") + b.wait_in_text(line_sel(2), locale) b.switch_to_top()