File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 44class MasterQATests (MasterQA ):
55
66 def test_masterqa (self ):
7- self .open ("http ://xkcd.com/1700/" )
7+ self .open ("https ://xkcd.com/1700/" )
88 self .verify ("Do you see a webcomic?" )
9- self .click_link_text ('Store' )
10- self .click_link_text ('all the things' )
11- self .verify ("Do you see items for sale?" )
12- self .update_text ("input.search-input" , "Robots\n " )
13- self .verify ("Do you see robots in the search results?" )
9+ self .highlight_click ('link=Blag' )
10+ self .verify ('Do you see a blog archive?' )
11+ self .highlight_update_text ("input#s" , "Dragons\n " )
12+ self .verify ('Do you see "dragons" in the search results?' )
Original file line number Diff line number Diff line change 44class MasterQATests (MasterQA ):
55
66 def test_xkcd (self ):
7- self .open ("http ://xkcd.com/1512/" )
7+ self .open ("https ://xkcd.com/1512/" )
88 for i in range (4 ):
99 self .click ('a[rel="next"]' )
1010 for i in range (3 ):
1111 self .click ('a[rel="prev"]' )
1212 self .verify ()
13- self .open ("http ://xkcd.com/1520/" )
13+ self .open ("https ://xkcd.com/1520/" )
1414 for i in range (2 ):
1515 self .click ('a[rel="next"]' )
1616 self .verify ("Can you find the moon?" )
@@ -19,7 +19,7 @@ def test_xkcd(self):
1919 self .click_link_text ('Blag' )
2020 self .update_text ("input#s" , "Robots!\n " )
2121 self .verify ("Does it say 'Hooray robots' on the page?" )
22- self .open ("http ://xkcd.com/213/" )
22+ self .open ("https ://xkcd.com/213/" )
2323 for i in range (5 ):
2424 self .click ('a[rel="prev"]' )
2525 self .verify ("Does the page say 'Abnormal Expressions'?" )
You can’t perform that action at this time.
0 commit comments