How to use the @flood/element.By.partialLinkText function in @flood/element

To help you get started, we’ve selected a few @flood/element examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github flood-io / element / smoke / test-scripts / flood-store.pass.ts View on Github external
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))
	})
github flood-io / element / packages / element / docs / examples / scenario_1_wordpress.ts View on Github external
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))
	})