File tree Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -20,3 +20,21 @@ The Playwright Workshop for TAU: The Homecoming
20
20
1 . Testing different browsers
21
21
2 . Capturing screenshots and videos
22
22
3 . Running tests in parallel
23
+
24
+
25
+ ## Part 1: Getting started
26
+
27
+ ``` bash
28
+ $ mkdir tau-playwright-workshop
29
+ $ cd tau-playwright-workshop
30
+ $ python3 -m venv venv
31
+ $ source venv/bin/activate
32
+ $ pip3 install playwright
33
+ $ pip3 install pytest
34
+ $ pip3 freeze
35
+ $ playwright install
36
+ ```
37
+
38
+ * Explain virtual environments
39
+
40
+
Original file line number Diff line number Diff line change
1
+ attrs == 21.2.0
2
+ greenlet == 1.1.2
3
+ iniconfig == 1.1.1
4
+ packaging == 21.3
5
+ playwright == 1.17.0
6
+ pluggy == 1.0.0
7
+ py == 1.11.0
8
+ pyee == 8.2.2
9
+ pyparsing == 3.0.6
10
+ pytest == 6.2.5
11
+ toml == 0.10.2
12
+ websockets == 10.1
Original file line number Diff line number Diff line change
1
+ """
2
+ These tests cover DuckDuckGo searches.
3
+ """
4
+
5
+
6
+ def test_basic_duckduckgo_search ():
7
+ # Given the DuckDuckGo home page is displayed
8
+ # When the user searches for a phrase
9
+ # Then the search result query is the phrase
10
+ # And the search result links pertain to the phrase
11
+ # And the search result title contains the phrase
12
+ pass
You can’t perform that action at this time.
0 commit comments