Skip to content

Commit 0ee06c5

Browse files
committed
Update URLs in Google tests
1 parent af64ce5 commit 0ee06c5

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

examples/boilerplates/samples/google_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class GoogleTests(BaseCase):
1010

1111
def test_google_dot_com(self):
12-
self.open('https://google.com')
12+
self.open('https://google.com/ncr')
1313
self.update_text(HomePage.search_box, 'github')
1414
self.assert_element(HomePage.list_box)
1515
self.assert_element(HomePage.search_button)

examples/parameterized_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ class GoogleTestClass(BaseCase):
1010
["seleniumbase", "https://github.com/seleniumbase/SeleniumBase"],
1111
])
1212
def test_parameterized_google_search(self, search_term, expected_url):
13-
self.open('https://google.com')
13+
self.open('https://google.com/ncr')
1414
self.update_text('input[title="Search"]', search_term + '\n')
1515
self.assert_text(expected_url, '#search')

examples/tour_examples/bootstrap_google_tour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class MyTourClass(BaseCase):
55

66
def test_google_tour(self):
7-
self.open('https://google.com')
7+
self.open('https://google.com/ncr')
88
self.wait_for_element('input[title="Search"]')
99

1010
self.create_bootstrap_tour() # OR self.create_tour(theme="bootstrap")

examples/tour_examples/google_tour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class MyTourClass(BaseCase):
55

66
def test_google_tour(self):
7-
self.open('https://google.com')
7+
self.open('https://google.com/ncr')
88
self.wait_for_element('input[title="Search"]')
99

1010
# Create a website tour using the ShepherdJS library with "dark" theme

examples/tour_examples/hopscotch_google_tour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class MyTourClass(BaseCase):
55

66
def test_google_tour(self):
7-
self.open('https://google.com')
7+
self.open('https://google.com/ncr')
88
self.wait_for_element('input[title="Search"]')
99

1010
self.create_hopscotch_tour() # OR self.create_tour(theme="hopscotch")

examples/tour_examples/introjs_google_tour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class MyTourClass(BaseCase):
55

66
def test_google_tour(self):
7-
self.open('https://google.com')
7+
self.open('https://google.com/ncr')
88
self.wait_for_element('input[title="Search"]')
99

1010
self.create_introjs_tour() # OR self.create_tour(theme="introjs")

examples/tour_examples/shepherd_google_tour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class MyTourClass(BaseCase):
55

66
def test_google_tour(self):
7-
self.open('https://google.com')
7+
self.open('https://google.com/ncr')
88
self.wait_for_element('input[title="Search"]')
99

1010
self.create_shepherd_tour(theme="dark")

seleniumbase/console_scripts/sb_mkdir.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def main():
217217
data.append("class GoogleTests(BaseCase):")
218218
data.append("")
219219
data.append(" def test_google_dot_com(self):")
220-
data.append(" self.open('https://google.com')")
220+
data.append(" self.open('https://google.com/ncr')")
221221
data.append(
222222
" self.update_text(HomePage.search_box, 'github')")
223223
data.append(" self.assert_element(HomePage.list_box)")

0 commit comments

Comments
 (0)