test file updated1

This commit is contained in:
SagarDurgade 2024-08-03 01:24:15 +05:30
parent 580d83ea10
commit 504c05374f

View file

@ -21,6 +21,7 @@ export class amazonPage extends BasePage {
await this.page.waitForTimeout(2000) await this.page.waitForTimeout(2000)
await this.page.getByPlaceholder("Search Amazon.in").fill(searchText) await this.page.getByPlaceholder("Search Amazon.in").fill(searchText)
await this.page.getByLabel(searchText).first().click() await this.page.getByLabel(searchText).first().click()
await this.page.waitForTimeout(2000)
} }
} }