From e0acbbd385d49d273ae2ca60f7c33d32c419975f Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Sat, 17 Aug 2019 16:54:16 -0400 Subject: [PATCH] Update the example test --- examples/my_first_test.py | 1 + integrations/node_js/my_first_test.py | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/my_first_test.py b/examples/my_first_test.py index cbb2ff04..7a585df7 100755 --- a/examples/my_first_test.py +++ b/examples/my_first_test.py @@ -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() diff --git a/integrations/node_js/my_first_test.py b/integrations/node_js/my_first_test.py index aca6bde3..ca77965e 100755 --- a/integrations/node_js/my_first_test.py +++ b/integrations/node_js/my_first_test.py @@ -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()