Skip to content

Commit 5c63f72

Browse files
Merge branch '1-getting-started' into 2-first-steps
2 parents 79608e6 + ac89731 commit 5c63f72

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/test_search.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
"""
44

55

6-
def test_basic_duckduckgo_search(page):
6+
from playwright.sync_api import Page
77

8+
9+
def test_basic_duckduckgo_search(page: Page) -> None:
810
# Given the DuckDuckGo home page is displayed
911
page.goto('https://www.duckduckgo.com')
1012

tutorial/1-getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ $ touch tests/test_search.py
162162
Add the following code to `tests/test_search.py`:
163163

164164
```python
165-
def test_basic_duckduckgo_search():
165+
def test_basic_duckduckgo_search() -> None:
166166
# Given the DuckDuckGo home page is displayed
167167
# When the user searches for a phrase
168168
# Then the search result query is the phrase

0 commit comments

Comments
 (0)