File tree Expand file tree Collapse file tree 8 files changed +22
-18
lines changed Expand file tree Collapse file tree 8 files changed +22
-18
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,15 @@ def test_google_tour(self):
21
21
self .play_tour ()
22
22
23
23
self .highlight_update_text ('input[title="Search"]' , "GitHub\n " )
24
+ self .ad_block ()
24
25
self .wait_for_element ("#search" )
25
26
26
27
self .create_bootstrap_tour ()
27
- self .add_tour_step ("See Results Here!" , title = "(5 -second autoplay) " )
28
+ self .add_tour_step ("3 -second autoplay... " )
28
29
self .add_tour_step ("Here's the next tour:" )
29
- self .play_tour (interval = 5 ) # Tour automatically continues after 5 sec
30
+ self .play_tour (interval = 3 ) # Tour automatically continues after 3 sec
30
31
31
- self .open ("https://www.google.com/maps/@42.3598616 ,-71.0912631 ,15z" )
32
+ self .open ("https://www.google.com/maps/@42.3591234 ,-71.0915634 ,15z" )
32
33
self .wait_for_element ("#searchboxinput" , timeout = 20 )
33
34
self .wait_for_element ("#minimap" , timeout = 20 )
34
35
self .wait_for_element ("#zoom" , timeout = 20 )
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ def test_bootstrap_tour(self):
14
14
self .add_tour_step ("Click here for the next comic." , 'a[rel="next"]' )
15
15
self .add_tour_step ("Click here for the previous one." , 'a[rel="prev"]' )
16
16
self .add_tour_step ("Learn about the author here." , 'a[rel="author"]' )
17
- self .add_tour_step ("Click here for the license." , 'a[rel="license"]' )
18
17
self .add_tour_step ("Click for a random comic." , 'a[href*="/random/"]' )
19
18
self .add_tour_step ("Thanks for taking this tour!" )
20
19
self .export_tour (filename = "bootstrap_xkcd_tour.js" ) # Exports the tour
Original file line number Diff line number Diff line change 4
4
class MyTestClass (BaseCase ):
5
5
6
6
def test_create_tour (self ):
7
- self .open ("https://www.google.com/maps/@42.3598616 ,-71.0912631 ,15z" )
7
+ self .open ("https://www.google.com/maps/@42.3591234 ,-71.0915634 ,15z" )
8
8
self .wait_for_element ("#searchboxinput" , timeout = 20 )
9
9
self .wait_for_element ("#minimap" , timeout = 20 )
10
10
self .wait_for_element ("#zoom" , timeout = 20 )
Original file line number Diff line number Diff line change @@ -25,16 +25,17 @@ def test_google_tour(self):
25
25
self .play_tour ()
26
26
27
27
self .highlight_update_text ('input[title="Search"]' , "GitHub\n " )
28
+ self .ad_block ()
28
29
self .wait_for_element ("#search" )
29
30
30
31
# Create a website tour using the Bootstrap Tour JS library
31
32
# Same as: self.create_bootstrap_tour()
32
33
self .create_tour (theme = "bootstrap" )
33
- self .add_tour_step ("See Results Here!" , title = "(5 -second autoplay) " )
34
+ self .add_tour_step ("3 -second autoplay... " )
34
35
self .add_tour_step ("Here's the next tour:" )
35
- self .play_tour (interval = 5 ) # Tour automatically continues after 5 sec
36
+ self .play_tour (interval = 3 ) # Tour automatically continues after 3 sec
36
37
37
- self .open ("https://www.google.com/maps/@42.3598616 ,-71.0912631 ,15z" )
38
+ self .open ("https://www.google.com/maps/@42.3591234 ,-71.0915634 ,15z" )
38
39
self .wait_for_element ("#searchboxinput" )
39
40
self .wait_for_element ("#minimap" )
40
41
self .wait_for_element ("#zoom" )
Original file line number Diff line number Diff line change @@ -21,14 +21,15 @@ def test_google_tour(self):
21
21
self .play_tour ()
22
22
23
23
self .highlight_update_text ('input[title="Search"]' , "GitHub\n " )
24
+ self .ad_block ()
24
25
self .wait_for_element ("#search" )
25
26
26
27
self .create_hopscotch_tour ()
27
- self .add_tour_step ("See Results Here!" , title = "(5 -second autoplay) " )
28
+ self .add_tour_step ("3 -second autoplay... " )
28
29
self .add_tour_step ("Here's the next tour:" )
29
- self .play_tour (interval = 5 ) # Tour automatically continues after 5 sec
30
+ self .play_tour (interval = 3 ) # Tour automatically continues after 3 sec
30
31
31
- self .open ("https://www.google.com/maps/@42.3598616 ,-71.0912631 ,15z" )
32
+ self .open ("https://www.google.com/maps/@42.3591234 ,-71.0915634 ,15z" )
32
33
self .wait_for_element ("#searchboxinput" , timeout = 20 )
33
34
self .wait_for_element ("#minimap" , timeout = 20 )
34
35
self .wait_for_element ("#zoom" , timeout = 20 )
Original file line number Diff line number Diff line change @@ -21,14 +21,15 @@ def test_google_tour(self):
21
21
self .play_tour ()
22
22
23
23
self .highlight_update_text ('input[title="Search"]' , "GitHub\n " )
24
+ self .ad_block ()
24
25
self .wait_for_element ("#search" )
25
26
26
27
self .create_introjs_tour ()
27
- self .add_tour_step ("See Results Here!" , title = "(5 -second autoplay) " )
28
+ self .add_tour_step ("3 -second autoplay... " )
28
29
self .add_tour_step ("Here's the next tour:" )
29
- self .play_tour (interval = 5 ) # Tour automatically continues after 5 sec
30
+ self .play_tour (interval = 3 ) # Tour automatically continues after 3 sec
30
31
31
- self .open ("https://www.google.com/maps/@42.3598616 ,-71.0912631 ,15z" )
32
+ self .open ("https://www.google.com/maps/@42.3591234 ,-71.0915634 ,15z" )
32
33
self .wait_for_element ("#searchboxinput" , timeout = 20 )
33
34
self .wait_for_element ("#minimap" , timeout = 20 )
34
35
self .wait_for_element ("#zoom" , timeout = 20 )
Original file line number Diff line number Diff line change 4
4
class MyTourClass (BaseCase ):
5
5
6
6
def test_google_maps_tour (self ):
7
- self .open ("https://www.google.com/maps/@42.3598616 ,-71.0912631 ,15z" )
7
+ self .open ("https://www.google.com/maps/@42.3591234 ,-71.0915634 ,15z" )
8
8
self .wait_for_element ("#searchboxinput" , timeout = 20 )
9
9
self .wait_for_element ("#minimap" , timeout = 20 )
10
10
self .wait_for_element ("#zoom" , timeout = 20 )
Original file line number Diff line number Diff line change @@ -21,14 +21,15 @@ def test_google_tour(self):
21
21
self .play_tour ()
22
22
23
23
self .highlight_update_text ('input[title="Search"]' , "GitHub\n " )
24
+ self .ad_block ()
24
25
self .wait_for_element ("#search" )
25
26
26
27
self .create_shepherd_tour (theme = "square-dark" )
27
- self .add_tour_step ("See Results Here!" , title = "(5 -second autoplay) " )
28
+ self .add_tour_step ("3 -second autoplay... " )
28
29
self .add_tour_step ("Here's the next tour:" )
29
- self .play_tour (interval = 5 ) # Tour automatically continues after 5 sec
30
+ self .play_tour (interval = 3 ) # Tour automatically continues after 3 sec
30
31
31
- self .open ("https://www.google.com/maps/@42.3598616 ,-71.0912631 ,15z" )
32
+ self .open ("https://www.google.com/maps/@42.3591234 ,-71.0915634 ,15z" )
32
33
self .wait_for_element ("#searchboxinput" , timeout = 20 )
33
34
self .wait_for_element ("#minimap" , timeout = 20 )
34
35
self .wait_for_element ("#zoom" , timeout = 20 )
You can’t perform that action at this time.
0 commit comments