File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,10 @@ def test_basic(self):
12
12
self .add_tour_step ("Here's the daily webcomic." , "#comic img" )
13
13
self .add_tour_step ("This is the title." , "#ctitle" , alignment = "top" )
14
14
self .add_tour_step ("Click here for the next comic." , 'a[rel="next"]' )
15
- self .add_tour_step ("Or here for the previous comic ." , 'a[rel="prev"]' )
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 for the license here ." , 'a[rel="license"]' )
18
- self .add_tour_step ("This selects a random comic." , 'a[href*="random"]' )
17
+ self .add_tour_step ("Click here for the license." , 'a[rel="license"]' )
18
+ self .add_tour_step ("Click for a random comic." , 'a[href*="/ random/ "]' )
19
19
self .add_tour_step ("Thanks for taking this tour!" )
20
- # self.export_tour() # Use this to export the tour as [my_tour.js]
21
- self .export_tour (filename = "xkcd_tour.js" ) # You can customize the name
22
- self .play_tour ()
20
+ self .export_tour (filename = "xkcd_tour.js" ) # This exports the tour
21
+ self .play_tour () # This plays the tour
You can’t perform that action at this time.
0 commit comments