Skip to content

Commit a65970e

Browse files
committed
Update tour examples
1 parent 8803a24 commit a65970e

File tree

5 files changed

+15
-5
lines changed

5 files changed

+15
-5
lines changed

examples/tour_examples/bootstrap_google_tour.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ def test_google_tour(self):
3434
self.play_tour(interval=5) # Tour automatically continues after 5 sec
3535

3636
self.open("https://www.google.com/maps/@42.3598616,-71.0912631,15z")
37-
self.wait_for_element('input#searchboxinput')
37+
self.wait_for_element("#searchboxinput")
38+
self.wait_for_element("#minimap")
39+
self.wait_for_element("#zoom")
3840

3941
self.create_bootstrap_tour()
4042
self.add_tour_step("Welcome to Google Maps!")

examples/tour_examples/google_tour.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ def test_google_tour(self):
4040
self.play_tour(interval=5) # Tour automatically continues after 5 sec
4141

4242
self.open("https://www.google.com/maps/@42.3598616,-71.0912631,15z")
43-
self.wait_for_element('input#searchboxinput')
43+
self.wait_for_element("#searchboxinput")
44+
self.wait_for_element("#minimap")
45+
self.wait_for_element("#zoom")
4446

4547
# Create a website tour using the IntroJS library
4648
# Same as: self.create_introjs_tour()

examples/tour_examples/hopscotch_google_tour.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ def test_google_tour(self):
3535
self.play_tour(interval=5) # Tour automatically continues after 5 sec
3636

3737
self.open("https://www.google.com/maps/@42.3598616,-71.0912631,15z")
38-
self.wait_for_element('input#searchboxinput')
38+
self.wait_for_element("#searchboxinput")
39+
self.wait_for_element("#minimap")
40+
self.wait_for_element("#zoom")
3941

4042
self.create_hopscotch_tour()
4143
self.add_tour_step("Welcome to Google Maps!")

examples/tour_examples/introjs_google_tour.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ def test_google_tour(self):
3434
self.play_tour(interval=5) # Tour automatically continues after 5 sec
3535

3636
self.open("https://www.google.com/maps/@42.3598616,-71.0912631,15z")
37-
self.wait_for_element('input#searchboxinput')
37+
self.wait_for_element("#searchboxinput")
38+
self.wait_for_element("#minimap")
39+
self.wait_for_element("#zoom")
3840

3941
self.create_introjs_tour()
4042
self.add_tour_step("Welcome to Google Maps!")

examples/tour_examples/shepherd_google_tour.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ def test_google_tour(self):
3636
self.play_tour(interval=5) # Tour automatically continues after 5 sec
3737

3838
self.open("https://www.google.com/maps/@42.3598616,-71.0912631,15z")
39-
self.wait_for_element('input#searchboxinput')
39+
self.wait_for_element("#searchboxinput")
40+
self.wait_for_element("#minimap")
41+
self.wait_for_element("#zoom")
4042

4143
self.create_shepherd_tour(theme="dark")
4244
self.add_tour_step(

0 commit comments

Comments
 (0)