xxxxxxxxxx
// ๐ Lets load up the website
I.goTo("https://www.codecademy.com/")
โ
// โฐ And see if it loads
I.see("Join the Millions Learning to Code");
I.see("Choose what to learn")
I.see("Land your dream job")
โ
// ๐ Lets click on something, see if it loads
I.click("Catalog")
I.see("Full Catalog")
โ
// ๐ Lets try the login form
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, lets be nice to codeacademy folks
// and not submit into production
// I.click("Log in")
โ
//
// Interested to do more complex test scripts for your website?
// Heade 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!
35s (31s)
1.
I go to "https://www.codecademy.com/"
10.7s
2.
I see "Join the Millions Learning to Code"
0.1s
3.
I see "Choose what to learn"
0.1s
4.
I see "Land your dream job"
5.
I click "Catalog"
10.0s
6.
I see "Full Catalog"
0.4s
7.
I click "Log in"
4.1s
9.
I fill "password": "this-account-does-not-exist"
2.6s
10.
[end of test]