xxxxxxxxxx// Let's surf dev.to for a bitI.goTo("https://dev.to/")I.fill("Search", "dev.to")I.pressEnter()I.click("thepracticaldev")I.see("The hardworking team behind dev.to ")// Let's go back to homeI.click("DEV Home") // We love aria-labelsI.amAt("https://dev.to/")// Let's do some shoppingI.click("DEV Shop")I.amAt("https://shop.dev.to/")let shopping_list = [ "Dev tote", "Sticker Pack"]shopping_list.forEach((item) => { I.click(item) I.fill("Quantity", 100) // lets' get a hundred of each I.click("Add to cart") I.click("The DEV shop")})// Hm... lets grab a few more stickersI.click("Cart")I.see("Dev Tote") // hintI.fill("Quantity", 120)I.pressEnter()// Is the money correct?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.