xxxxxxxxxx
I.goTo("https://www.mercedes-benz.co.uk");
// agree to cookies
I.see("DAIMLER GROUP (UK) uses cookies")
I.click("Agree to all")
// owner's area
I.click("Owners' area")
I.click("accessories & collection")
// view accessories
I.see("Technical Accessories Online Store")
I.click("Buy today")
I.amAt("https://configurator.mercedes-benz-accessories.com") // make sure we got the right page
// select car class
I.see("Select car")
I.click("E") // E-class car
I.see("E-Class")
I.click("Saloon")
// viewing a product
I.click("Telematics")
I.click("Mount for tablet PC")
I.see("Product details")
I.see("Item number: A0008272200")
// find a retailer
I.click("select a retailer")
I.click("Search by address")
I.fill("City / Postcode", "Manchester")
I.pressEnter()
I.click("Show as a list")
I.see("Mercedes-Benz of Manchester Central")
I.click("Select retailer")
// add to cart
I.click("Add to cart")
I.click("Proceed to checkout")
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!
Hello!
You haven't ran a test yet.
Write a test in the editor,
and hit the "Run" button run the test.