Skip to content

Commit aac8d29

Browse files
committed
Update example tests
1 parent 271d5fb commit aac8d29

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

examples/offline_examples/test_demo_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_demo_page(self):
3030
try:
3131
self.hover_and_click("#myDropdown", "#dropOption2", timeout=1)
3232
except Exception:
33-
# If someone moves the mouse while the test runs
33+
# Someone moved the mouse while the test ran
3434
self.js_click("#dropOption2")
3535
self.assert_text("Link Two Selected", "h3")
3636

examples/test_demo_site.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def test_demo_site(self):
2424
try:
2525
self.hover_and_click("#myDropdown", "#dropOption2", timeout=1)
2626
except Exception:
27-
# If someone moves the mouse while the test runs
27+
# Someone moved the mouse while the test ran
2828
self.js_click("#dropOption2")
2929
self.assert_text("Link Two Selected", "h3")
3030

integrations/node_js/test_demo_site.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ def test_demo_site(self):
2222
# Verify that a hover dropdown link changes page text
2323
self.assert_text("Automation Practice", "h3")
2424
try:
25-
self.hover_and_click(
26-
"#myDropdown", "#dropOption2", timeout=2)
25+
self.hover_and_click("#myDropdown", "#dropOption2", timeout=1)
2726
except Exception:
28-
# If a human moves the mouse while the test runs
27+
# Someone moved the mouse while the test ran
2928
self.js_click("#dropOption2")
3029
self.assert_text("Link Two Selected", "h3")
3130

0 commit comments

Comments
 (0)