xxxxxxxxxx
// ๐ Lets load up the website
I.goTo("https://www.airbnb.com/")
โ
// โฐ And see if it loads
I.see("Book unique homes and experiences");
โ
// ๐ Let's try looking for adventures!
I.see("Experiences")
I.click("Experiences")
I.see("Top-rated experiences")
โ
// โ๏ธ And fill it up and search ๐!
I.fill("Search", "Singapore")
I.pressEnter()
I.see("Explore experiences")
โ
// ๐ Live like a local, you only live once
// and try that out!
I.see("Live like a local")
I.click("Live like a local")
โ
// โน๏ธ Let's make sure we are in the detail page
I.see("About your host")
โ
// ๐คฃ We need login anyway so let's just stop here
โ
//
// Interested to do more complex test scripts for your website?
// Head over to - https://uilicious.com
//
โ
โ
โ
โ
โ
Hi, I'm TAMI (Test Authoring Machine Intelligence).
Let me assist you in writing a test. Tell me a scenario to test, and Iโll write the test script for you!
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]