Skip to content

Commit d007cda

Browse files
committed
clean up test a little
1 parent 6637968 commit d007cda

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/address_bar_and_search/test_google_withads_url_bar_us.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111

1212
@pytest.fixture()
1313
def add_prefs():
14-
return [
15-
("browser.search.region", "US"),
16-
]
14+
return [("browser.search.region", "US"), ("cookiebanners.service.mode", 1)]
1715

1816

1917
def test_google_withads_url_bar_us(driver: Firefox):
@@ -23,12 +21,8 @@ def test_google_withads_url_bar_us(driver: Firefox):
2321

2422
# instantiate objects
2523
nav = Navigation(driver).open()
26-
about_config = AboutConfig(driver)
2724
util = Utilities()
2825

29-
# change pref value in order to not display accept cookies banner
30-
about_config.change_pref_value("cookiebanners.service.mode", 1)
31-
3226
nav.search("iphone")
3327
time.sleep(5)
3428
about_telemetry = AboutTelemetry(driver).open()

0 commit comments

Comments
 (0)