xxxxxxxxxx
25
1
// ๐ Lets load up the website
2
I.goTo("https://www.airbnb.com/")
3
โ
4
// โฐ And see if it loads
5
I.see("Book unique homes and experiences.");
6
โ
7
// ๐ Let's try the login form
8
I.see("Log in")
9
I.click("Log in")
10
โ
11
// ๐ฑ inboxkitten.com is our opensource
12
// disposable mail service
13
I.fill("email", "[email protected]")
14
I.fill("password", "this-account-does-not-exist")
15
โ
16
// ๐ This is production, let's be nice to Airbnb folks
17
// and not submit into production
18
// I.click("Log in")
19
โ
20
//
21
// Interested to do more complex test scripts for your website?
22
// Head over to - https://uilicious.com
23
//
24
โ
25
โ

SUCCESS!
22s (15s)
1.
I go to "https://www.airbnb.com/" 6.7s
2.
I see "Book unique homes and experiences." 0.2s
3.
I see "Log in" 0.1s
4.
I click "Log in" 2.7s
5.
6.
I fill "password": "this-account-does-not-exist" 2.7s
7.
[end of test]