โ€‹x
24
 
1
// ๐ŸŒ Lets load up the website
2
I.goTo("https://www.instagram.com/")
3
โ€‹
4
// โฐ And see if it loads
5
I.see("Instagram");
6
โ€‹
7
// ๐Ÿ˜Ž Lets 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, lets be nice to Instagram 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
โ€‹
Test
1280 x 960
18 Apr 2019, 09:02 AM
Login โ€ข Instagram
SUCCESS. No errors.
7.8s
1.
I go to "https://www.instagram.com/" 2.0s
2.
I see "Instagram"
3.
I see "Log in"
4.
I click "Log in" 1.7s
5.
I fill "email": "[email protected]" 2.1s
6.
I fill "password": "this-account-does-not-exist" 1.9s
7.
[end of test]