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!
SUCCESS!
44s (41s)
1.
I go to "https://dev.to/"
4.2s
2.
I fill "Search": "dev.to"
1.5s
3.
I press "Enter"
4.
I click "thepracticaldev"
1.8s
5.
I see "The hardworking team behind dev.to "
0.1s
6.
I click "DEV Home"
1.5s
7.
I am at "https://dev.to/"
8.
I click "DEV Shop"
4.5s
9.
I am at "https://shop.dev.to/"
10.
I click "Dev tote"
3.4s
11.
I fill "Quantity": "100"
0.4s
12.
I click "Add to cart"
4.1s
13.
I click "The DEV shop"
2.9s
14.
I click "Sticker Pack"
3.0s
15.
I fill "Quantity": "100"
0.4s
16.
I click "Add to cart"
4.0s
17.
I click "The DEV shop"
2.8s
18.
I click "Cart"
3.5s
19.
I see "Dev Tote"
0.1s
20.
I fill "Quantity": "120"
0.4s
21.
I press "Enter"
2.2s