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 the login form
I.see("Log in")
I.click("Log in")
โ
// ๐ฑ inboxkitten.com is our opensource
// disposable mail service
I.fill("email", "[email protected]")
I.fill("password", "this-account-does-not-exist")
โ
// ๐ This is production, let's be nice to Airbnb folks
// and not submit into production
// I.click("Log in")
โ
//
// 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!
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
6.
I fill "password": "this-account-does-not-exist"
2.7s
7.
[end of test]