xxxxxxxxxx
31
1
// ๐ Lets load up the website
2
I.goTo("https://www.codecademy.com/")
3
โ
4
// โฐ And see if it loads
5
I.see("Join the Millions Learning to Code");
6
I.see("Choose what to learn")
7
I.see("Land your dream job")
8
โ
9
// ๐ Lets click on something, see if it loads
10
I.click("Catalog")
11
I.see("Full Catalog")
12
โ
13
// ๐ Lets try the login form
14
I.click("Log in")
15
โ
16
// ๐ฑ inboxkitten.com is our opensource
17
// disposable mail service
18
I.fill("email", "[email protected]")
19
I.fill("password", "this-account-does-not-exist")
20
โ
21
// ๐ This is production, lets be nice to codeacademy folks
22
// and not submit into production
23
// I.click("Log in")
24
โ
25
//
26
// Interested to do more complex test scripts for your website?
27
// Heade over to - https://uilicious.com
28
//
29
โ
30
โ
31
โ

SUCCESS!
35s (31s)
1.
I go to "https://www.codecademy.com/" 10.7s
2.
I see "Join the Millions Learning to Code" 0.1s
3.
I see "Choose what to learn" 0.1s
4.
I see "Land your dream job"
5.
I click "Catalog" 10.0s
6.
I see "Full Catalog" 0.4s
7.
I click "Log in" 4.1s
8.
9.
I fill "password": "this-account-does-not-exist" 2.6s
10.
[end of test]