Update the example test
This commit is contained in:
parent
580c866b50
commit
e0acbbd385
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue