โ€‹x
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
โ€‹
Test
1280 x 960
18 Apr 2019, 10:05 AM
Live like a Local - Airbnb
SUCCESS. No errors.
17.5s
1.
I go to "https://www.airbnb.com/" 4.9s
2.
I see "Book unique homes and experiences"
3.
I see "Experiences"
4.
I click "Experiences" 4.3s
5.
I see "Top-rated experiences"
6.
I fill "Search": "Singapore" 2.2s
7.
I press "Enter"
8.
I see "Explore experiences"
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]