xxxxxxxxxx
35
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 looking for adventures!
8
I.see("Experiences")
9
I.click("Experiences")
10
I.see("Top-rated experiences")
11
โ
12
// โ๏ธ And fill it up and search ๐!
13
I.fill("Search", "Singapore")
14
I.pressEnter()
15
I.see("Explore experiences")
16
โ
17
// ๐ Live like a local, you only live once
18
// and try that out!
19
I.see("Live like a local")
20
I.click("Live like a local")
21
โ
22
// โน๏ธ Let's make sure we are in the detail page
23
I.see("About your host")
24
โ
25
// ๐คฃ We need login anyway so let's just stop here
26
โ
27
//
28
// Interested to do more complex test scripts for your website?
29
// Head over to - https://uilicious.com
30
//
31
โ
32
โ
33
โ
34
โ
35
โ

SUCCESS!
41s (17s)
1.
I go to "https://www.airbnb.com/" 4.9s
2.
I see "Book unique homes and experiences" 0.2s
3.
I see "Experiences" 0.2s
4.
I click "Experiences" 4.3s
5.
I see "Top-rated experiences" 0.1s
6.
I fill "Search": "Singapore" 2.2s
7.
I press "Enter" 0.4s
8.
I see "Explore experiences" 0.5s
9.
I see "Live like a local"
10.
I click "Live like a local" 2.1s
11.
I see "About your host" 2.5s
12.
[end of test]