xxxxxxxxxxUI.context("iframe[title='Field container for: Expiration date (MM / YY)']", ()=>{I.goTo("https://uk.gear.blizzard.com/")I.click("Accept All Cookies")//Choose categoryI.hoverOn("Shop By Game")I.click("Starcraft")//Choose what to buyI.click("StarCraft J!NX Black Flatbill Snapback Hat")I.see("This J!NX StarCraft Snapback Hat is the perfect accessory to any outfit.")I.click("Add To Cart")//Go to cart and checkoutI.click("View Cart")I.see("StarCraft J!NX Black Flatbill Snapback Hat")I.click("Checkout Securely")//Fill in detailsI.fill("Email", "[email protected]")I.fill("First Name", "John")I.fill("Last Name", "Kent")I.select("Country/Region", "Singapore")I.fill("Postal Code", "650101")I.click("650101 SINGAPORE")I.fill("Address", "SIAN TUAN")I.click("SIAN TUAN AVENUE")I.fill("Phone", "123456789")I.click("Continue to shipping")//Choose Shipping MethodI.click("Standard International")I.click("Continue to payment")//Fill in card detailsUI.context("iframe[title='Field container for: Card number']", ()=>{ I.fill("Card Number", "4242 4242 4242 4242")})UI.context("iframe[title='Field container for: Name on card']", ()=>{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.