xxxxxxxxxx// In this test, we'll go to the Befit website to book a trial for a gym class.// 1. Go to the website and book a trial for a gym classI.goTo("https://befittraining.com.au/befit-online/")I.click("Gym")I.click("Book a Trial")// 2. Fill in personal detailsI.fill("First name", "Alice")I.fill("Last Name", "Dunman")I.fill("Email Address", "[email protected]")I.see.hint("Date of Birth")I.click("Choose Date")I.type("04-12-1982")// 3. Fill in training detailsI.see.hint("Ideal Trial Start Date")I.click("Choose Date")I.type("18-10-2022")I.select("Do you have your fill COVID vaccination", "Yes")I.select("Training Background", "Crossfit")I.select("Medical History", "Asthma")I.see("Injury History", "None")// 4. Submit the formI.click("Send Message")// 5. Oops, looks like we forgot something!// We should see an error message for the missing input fieldI.see("This field is required. Please input a phone number.")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.