xxxxxxxxxx
// ๐ Lets load up the website
I.goTo("https://sendgrid.com/pricing/")
โ
// accept the cookie banner
UI.context("//iframe", ()=>{
I.click("Accept all")
I.click("Close")
})
โ
I.see("Essentials")
โ
// Validate the initial quoted amount for the "Essentials plan"
I.see("Starts at $19.95")
โ
// Drag the emails/month quantity slider using the I.dragRight command
// You can also use the I.dragLeft and the I.dragBy command
I.dragRight(".rc-slider-handle", 200)
โ
// Validate the the estimated price changes
I.see("$19.95/mo estimated")
โ
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!