We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d75a81a commit 391c960Copy full SHA for 391c960
tests/test_search.py
@@ -3,9 +3,15 @@
3
"""
4
5
6
-def test_basic_duckduckgo_search():
+def test_basic_duckduckgo_search(page):
7
+
8
# Given the DuckDuckGo home page is displayed
9
+ page.goto('https://www.duckduckgo.com')
10
11
# When the user searches for a phrase
12
+ page.fill('#search_form_input_homepage', 'panda')
13
+ page.click('#search_button_homepage')
14
15
# Then the search result query is the phrase
16
# And the search result links pertain to the phrase
17
# And the search result title contains the phrase
0 commit comments