diff --git a/explorer/e2e/testFunctions.ts b/explorer/e2e/testFunctions.ts index d2619749d..ef4f9021c 100644 --- a/explorer/e2e/testFunctions.ts +++ b/explorer/e2e/testFunctions.ts @@ -373,9 +373,9 @@ export async function testFilterPersistence( await page .getByRole("tab") .getByText(tabOrder[0].tabName, { exact: true }) - .click(); + .dispatchEvent("click"); await expect(getFirstRowNthColumnCellLocator(page, 0)).toBeVisible(); - await page.getByText(filterRegex(testFilterName)).click(); + await page.getByText(filterRegex(testFilterName)).dispatchEvent("click"); const previouslySelected = getFirstFilterButtonLocator(page); await expect(previouslySelected).toContainText(filterName, { useInnerText: true,