Skip to content

Commit b909be5

Browse files
committed
format
1 parent e2e812a commit b909be5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

modules/page_object_about_prefs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ def __init__(self, page, **kwargs):
4646
def loaded(self):
4747
return self.root if EC.element_to_be_clickable(self.root) else False
4848

49-
def select_option(self, option_name: str, double_click=False, wait_for_selection=True):
49+
def select_option(
50+
self, option_name: str, double_click=False, wait_for_selection=True
51+
):
5052
"""Select an option in the dropdown. Does not return self."""
5153
if not self.dropmarker.get_attribute("open") == "true":
5254
self.root.click()

tests/preferences/test_firefox_home_on_launch.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
21
import pytest
32
from selenium.webdriver import Firefox
43

5-
from modules.browser_object import TabBar, PanelUi
4+
from modules.browser_object import PanelUi, TabBar
5+
from modules.page_object import AboutNewtab, AboutPrefs
66

7-
from modules.page_object import AboutPrefs, AboutNewtab
87

98
@pytest.fixture()
109
def set_prefs():

0 commit comments

Comments
 (0)