File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ def test_basic(self):
9
9
self .click ('a[rel="license"]' ) # Click element on page
10
10
self .assert_text ('free to copy' , 'div center' ) # Assert text on page
11
11
self .open ("http://xkcd.com/1481/" )
12
- title = self .get_attribute ("#comic img" , "title" ) # Grab an attribute
12
+ title = self .get_attribute ("#comic img" , "title" ) # Get an attribute
13
13
self .assertTrue ("86,400 seconds per day" in title )
14
- self .click ('link=Blag' ) # Click link containing the text
14
+ self .click ('link=Blag' ) # Click on link
15
15
self .assert_text ('The blag of the webcomic' , 'h2' )
16
- self .update_text ('input#s' , 'Robots!\n ' ) # Fill in field with the text
16
+ self .update_text ('input#s' , 'Robots!\n ' ) # Type text
17
17
self .assert_text ('Hooray robots!' , '#content' )
18
18
self .open ('http://xkcd.com/1319/' )
19
19
self .assert_text ('Automation' , 'div#ctitle' )
You can’t perform that action at this time.
0 commit comments