Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
step('The Flood Store: Click Hoodies', async browser => {
let lnkHoodies = await browser.findElement(By.partialLinkText('Hoodies'))
await lnkHoodies.click()
let pageTextVerify = By.visibleText('Hoodie with Logo')
await browser.wait(Until.elementIsVisible(pageTextVerify))
})
step('The Flood Store: Click Hoodies', async browser => {
let lnkHoodies = await browser.findElement(By.partialLinkText('Hoodies'))
await lnkHoodies.click()
let pageTextVerify = By.visibleText('Hoodie with Logo')
await browser.wait(Until.elementIsVisible(pageTextVerify))
})