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.
2 parents 79608e6 + ac89731 commit 5c63f72Copy full SHA for 5c63f72
tests/test_search.py
@@ -3,8 +3,10 @@
3
"""
4
5
6
-def test_basic_duckduckgo_search(page):
+from playwright.sync_api import Page
7
8
+
9
+def test_basic_duckduckgo_search(page: Page) -> None:
10
# Given the DuckDuckGo home page is displayed
11
page.goto('https://www.duckduckgo.com')
12
tutorial/1-getting-started.md
@@ -162,7 +162,7 @@ $ touch tests/test_search.py
162
Add the following code to `tests/test_search.py`:
163
164
```python
165
-def test_basic_duckduckgo_search():
+def test_basic_duckduckgo_search() -> None:
166
167
# When the user searches for a phrase
168
# Then the search result query is the phrase
0 commit comments