Skip to content

Commit e0acbbd

Browse files
committed
Update the example test
1 parent 580c866 commit e0acbbd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

examples/my_first_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class MyTestClass(BaseCase):
66
def test_basic(self):
77
self.open("https://xkcd.com/353/")
88
self.assert_element('img[alt="Python"]')
9+
self.assert_title("xkcd: Python")
910
self.click('a[rel="license"]')
1011
self.assert_text("free to copy and reuse")
1112
self.go_back()

integrations/node_js/my_first_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class MyTestClass(BaseCase):
66
def test_basic(self):
77
self.open("https://xkcd.com/353/")
88
self.assert_element('img[alt="Python"]')
9+
self.assert_title("xkcd: Python")
910
self.click('a[rel="license"]')
1011
self.assert_text("free to copy and reuse")
1112
self.go_back()

0 commit comments

Comments
 (0)