Skip to content

Commit 76471f7

Browse files
committed
Update an example test
1 parent 729415b commit 76471f7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

integrations/node_js/my_first_test.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
class MyTestClass(BaseCase):
55

66
def test_basic(self):
7-
self.open('http://xkcd.com/353/')
7+
self.open("https://xkcd.com/353/")
88
self.assert_element('img[alt="Python"]')
99
self.click('a[rel="license"]')
10-
self.assert_text('free to copy', 'div center')
11-
self.open("http://xkcd.com/1481/")
10+
self.assert_text("free to copy", "div center")
11+
self.open("https://xkcd.com/1481/")
1212
title = self.get_attribute("#comic img", "title")
1313
self.assert_true("86,400 seconds per day" in title)
14-
self.click('link=Blag')
15-
self.assert_text('The blag of the webcomic', 'h2')
16-
self.update_text('input#s', 'Robots!\n')
17-
self.assert_text('Hooray robots!', '#content')
18-
self.open('http://xkcd.com/1319/')
19-
self.assert_exact_text('Automation', '#ctitle')
14+
self.click("link=Blag")
15+
self.assert_text("The blag of the webcomic", "h2")
16+
self.update_text("input#s", "Robots!\n")
17+
self.assert_text("Hooray robots!", "#content")
18+
self.open("https://xkcd.com/1319/")
19+
self.assert_exact_text("Automation", "#ctitle")

0 commit comments

Comments
 (0)