Skip to content

Commit 93a0e95

Browse files
committed
Update examples
1 parent 9f4b412 commit 93a0e95

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

examples/test_error_page.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ def test_error_page(self):
1414
self.highlight('img[alt*="404"]')
1515
self.highlight("img#octobi_wan_catnobi")
1616
self.highlight("img#speeder")
17+
self.save_screenshot_after_test = True # Automatic if test fails

examples/tour_examples/maps_introjs_tour.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from seleniumbase import BaseCase
23

34

@@ -9,7 +10,9 @@ def test_google_maps_tour(self):
910
self.wait_for_element("#zoom", timeout=20)
1011

1112
self.create_tour(theme="introjs")
12-
self.add_tour_step("Welcome to Google Maps", title="SeleniumBase Tour")
13+
self.add_tour_step(
14+
"Welcome to Google Maps", title="✅ SeleniumBase Tours 🌎"
15+
)
1316
self.add_tour_step(
1417
"The location goes here.", "#searchboxinput", title="Search Box"
1518
)
@@ -45,7 +48,8 @@ def test_google_maps_tour(self):
4548
alignment="left",
4649
)
4750
self.add_tour_step(
48-
"Thanks for using SeleniumBase Tours!", title="End of Guided Tour"
51+
"Thanks for using SeleniumBase Tours!",
52+
title="🚃 End of Guided Tour 🚃"
4953
)
5054
self.export_tour(filename="maps_introjs_tour.js")
5155
self.play_tour()

0 commit comments

Comments
 (0)