Skip to content

Commit 80504d5

Browse files
authored
Merge pull request #598 from mozilla/tracy/fix-lang-pack-test
Tracy/fix lang pack test
2 parents b8dd963 + 452947f commit 80504d5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/page_object_prefs.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,7 @@ def choose_sidebar_option(self, option: str):
598598
"""
599599
Clicks the corresponding sidebar option from the about:addons page.
600600
"""
601+
sleep(1)
601602
self.get_element("sidebar-options", labels=[option]).click()
602603

603604
def activate_theme(
@@ -609,7 +610,7 @@ def activate_theme(
609610
Attributes
610611
----------
611612
nav: Navigation
612-
The navgiation object
613+
The navigation object
613614
theme_name: str
614615
The name of the theme to press
615616
intended_color: str
@@ -653,7 +654,7 @@ def enabled_theme_matches(self, expected_theme: str) -> bool:
653654

654655
def check_theme_has_changed(self, original_theme: str) -> BasePage:
655656
"""
656-
Ensure that the theme has changed.
657+
Ensure the theme has changed.
657658
"""
658659
assert not self.enabled_theme_matches(original_theme)
659660
return self

0 commit comments

Comments
 (0)