xxxxxxxxxxI.goTo("https://shop.bjork.com/")I.click("Accept All")I.click("Browse the Store")I.see("Björk – Inez + Vinoodh – Volta Prints")I.click("Select Options")I.click("Complete Bundle")I.click("Add to Cart")I.see("“Björk – Inez + Vinoodh – Volta Prints” has been added to your cart.")//Go To CartI.click("View Cart")I.select("DPD")I.click("Proceed to Checkout")//Fill in Address DetailsI.fill("First Name", "John")I.fill("Last Name", "Kent")I.fill("House Number", "12345")I.fill("Town / City", "Sample Town")I.fill("Postcode", "12345")I.fill("Phone", "123456789")I.fill("Email", "[email protected]")//Fill In Credit Card DetailsI.select("Credit Cards")UI.context("//*[@id='ppcp-credit-card-gateway-card-number']//iframe",()=>{ I.fill("Card Number", "4242 4242 4242 4242")})UI.context("//*[@id='ppcp-credit-card-gateway-card-expiry']//iframe",()=>{ I.fill("Expiry", "12/29")})UI.context("//*[@id='ppcp-credit-card-gateway-card-cvc']//iframe",()=>{ I.fill("CVV", "123")})I.select("I have read and agree to the website")I.click("Place Order")I.wait(10)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.