We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d1076c commit a385401Copy full SHA for a385401
integrations/node_js/my_first_test.py
@@ -5,7 +5,8 @@ class MyTestClass(BaseCase):
5
6
def test_basic(self):
7
self.open("https://store.xkcd.com/search")
8
- self.type('input[name="q"]', "xkcd book\n")
+ self.type('input[name="q"]', "xkcd book")
9
+ self.click('input[value="Search"]')
10
self.assert_text("xkcd: volume 0", "h3")
11
self.open("https://xkcd.com/353/")
12
self.assert_title("xkcd: Python")
@@ -15,3 +16,5 @@ def test_basic(self):
15
16
self.go_back()
17
self.click_link_text("About")
18
self.assert_exact_text("xkcd.com", "h2")
19
+ self.click_link_text("geohashing")
20
+ self.assert_element("#comic img")
0 commit comments