Skip to content

Commit 977e913

Browse files
committed
Update example tests
1 parent bcecc11 commit 977e913

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

examples/test_download_files.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
class DownloadTests(BaseCase):
77
def test_download_chromedriver_notes(self):
8+
if self._multithreaded:
9+
self.open_if_not_url("about:blank")
10+
self.skip("Skipping test in multi-threaded mode.")
811
self.open("https://chromedriver.chromium.org/downloads")
912
notes_file = "notes.txt"
1013
notes_link = (

examples/test_todomvc.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@
44

55

66
class TodoMVC(BaseCase):
7-
@parameterized.expand(
8-
[
9-
["mithril"],
10-
["react"],
11-
["vue"],
12-
]
13-
)
7+
@parameterized.expand([["jquery"], ["react"], ["vue"]])
148
def test_todomvc(self, framework):
159
self.open("https://todomvc.com/")
1610
self.clear_local_storage()

examples/user_agent_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
class UserAgentTests(BaseCase):
66
def test_user_agent(self):
7+
if self._multithreaded:
8+
self.open_if_not_url("about:blank")
9+
self.skip("Skipping test in multi-threaded mode.")
710
self.open("https://my-user-agent.com/")
811
zoom_in = "#ua_string{zoom: 1.8;-moz-transform: scale(1.8);}"
912
self.add_css_style(zoom_in)

0 commit comments

Comments
 (0)