Skip to content
Snippets Groups Projects
Commit 7fe87eda authored by Andre Angelantoni's avatar Andre Angelantoni
Browse files

Fix atk_search.

parent d00b198f
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ test.describe('Search tests.', () => {
}
for (const item of searchData.simple) {
// await page.getByLabel('Search Form').click()
await page.getByLabel('Search Form').click()
const keyInput = page.getByRole('searchbox', { name: 'Search' })
await keyInput.fill(item.keyword)
await keyInput.press('Enter')
......@@ -112,7 +112,7 @@ test.describe('Search tests.', () => {
await page.getByLabel('Main Menu').click();
}
// await page.getByLabel('Search Form').click()
await page.getByLabel('Search Form').click()
const searchInput = page.getByRole('searchbox', { name: 'Search' })
await expect(searchInput).toHaveAttribute('placeholder', 'Search by keyword or phrase.')
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment