Update the example test

This commit is contained in:
Michael Mintz 2019-08-17 16:54:16 -04:00
parent 580c866b50
commit e0acbbd385
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ class MyTestClass(BaseCase):
def test_basic(self):
self.open("https://xkcd.com/353/")
self.assert_element('img[alt="Python"]')
self.assert_title("xkcd: Python")
self.click('a[rel="license"]')
self.assert_text("free to copy and reuse")
self.go_back()

View File

@ -6,6 +6,7 @@ class MyTestClass(BaseCase):
def test_basic(self):
self.open("https://xkcd.com/353/")
self.assert_element('img[alt="Python"]')
self.assert_title("xkcd: Python")
self.click('a[rel="license"]')
self.assert_text("free to copy and reuse")
self.go_back()