xxxxxxxxxx//Navigate to siteI.goTo("https://www.tentree.ca/")//Choose something to buy and checkoutI.hoverOn("Women")I.click("New Arrivals")I.click("Golden Spruce Crop T-Shirt")I.click("HI RISE GREY HEATHER")I.click("M")I.click("Add To Cart")I.click("Checkout")//Fill in needed detailsI.fill("Email", "[email protected]")I.fill("First Name", "Samantha")I.fill("Last Name", "Smith")I.fill("Address", "Sample Address")I.fill("City", "Sample City")I.select("Province", "Ontario")I.fill("Postal Code", "M3H 0C3")I.fill("Phone", "1234567890")I.click("Continue To Shipping")I.click("Proceed")//Choose a shipping methodI.click("Standard Shipping")I.click("Continue to payment")//Choose payment method and fill in card informationI.click("Credit Card")UI.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']", ()=>{ I.fill("Name on card", "Samantha Smith")})UI.context("iframe[title='Field container for: Expiration date (MM / YY)']", ()=>{ I.fill("Expiration date (MM / YY)", "12/27")})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.