Skip to content

Commit 2363e43

Browse files
committed
Update example test
1 parent 3775b7a commit 2363e43

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/my_first_test.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ def test_basic(self):
99
self.click('a[rel="license"]')
1010
text = self.wait_for_element_visible('center').text
1111
self.assertTrue("reuse any of my drawings" in text)
12-
self.assertTrue("You can use them freely" in text)
1312
self.open("http://xkcd.com/1481/")
1413
self.click_link_text('Blag')
15-
self.wait_for_text_visible("blag of the webcomic", "#site-description")
16-
self.update_text_value("input#s", "Robots!\n")
14+
self.wait_for_text_visible("The blag", "header h2")
15+
self.update_text("input#s", "Robots!\n")
1716
self.wait_for_text_visible("Hooray robots!", "#content")
1817
self.open("http://xkcd.com/1319/")
1918
self.wait_for_text_visible("Automation", "div#ctitle")

0 commit comments

Comments
 (0)