Skip to content

Commit 97f8d86

Browse files
committed
Remove superfluous chrome context switch (it was moved into the newly created method)
1 parent 20fee93 commit 97f8d86

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/address_bar_and_search/test_search_term_persists.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def toggle_legacy_search_bar():
5050
# Perform a search using the URL bar.
5151
nav.search(FIRST_SEARCH)
5252
tab.expect_title_contains("Google Search")
53-
nav.set_chrome_context()
5453
address_bar_text = nav.get_awesome_bar_text()
5554
assert FIRST_SEARCH == address_bar_text
5655

@@ -78,6 +77,5 @@ def toggle_legacy_search_bar():
7877
# Again, perform a search using the URL bar.
7978
nav.search(FIRST_SEARCH)
8079
tab.expect_title_contains("Google Search")
81-
nav.set_chrome_context()
8280
address_bar_text = nav.get_awesome_bar_text()
8381
assert FIRST_SEARCH == address_bar_text

0 commit comments

Comments
 (0)