xxxxxxxxxx// Start by going to a web page first, like this:I.goTo("https://store.liverpoolfc.com/")I.click("Accept All Cookies")I.click("LFC Womens 22/23")I.wait(5)//Choose a size and UI.context(".product-add-form", ()=>{ I.click("14")})I.click("Add to Bag")I.click("Proceed to Checkout")I.wait(5)//Fill In needed detailsI.fill("Email Address", "[email protected]")I.select("Country/Region", "United Kingdom")I.wait(5)I.fill("First Name", "Samantha")I.fill("Last Name", "Smith")I.fill("Street Address", "A")I.click("Selborne Mansions")I.fill("Phone", "7400 123348")I.click("Standard Delivery")I.click("Proceed To Payment")I.wait(5)//Choose Payment and fill detailsI.click("Credit/Debit Card")I.wait(3)UI.context("//*[@id='flex-cc-number']//iframe", ()=>{ I.fill("Credit Card Number", "4242 4242 4242 4242")})I.select("Expiration Date", "12 - December")I.select("Expiry Year", "2029")UI.context("//*[@id='flex-cc-cvn']//iframe", ()=>{ I.fill("Card Verification Number", "123")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.