Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/search.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ test.describe("Testing search page", () => {
await page.goto('/');
await waitFor(() => handleConsentPopup(page));

const searchBox = page.locator('.CoveoSearchbox');
const searchBox = page.locator('.CoveoSearchbox').first();
const searchButton = page.locator('.CoveoSearchButton');
const searchValue = "proxy";
expect(searchBox).toBeVisible();
Expand All @@ -19,7 +19,7 @@ test.describe("Testing search page", () => {
});

test('Search page returns results without error', async ({ page }) => {
await page.goto(`/search.html#q=proxy&sort=relevancy`);
await page.goto("/search.html#q=proxy&sort=relevancy");
await waitFor(() => handleConsentPopup(page));

await page.waitForSelector('div.coveo-result-list-container');
Expand Down