Skip to content

Commit

Permalink
fix: switched setchecked to click action (#4068)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpaten committed Jul 14, 2024
1 parent 4f0582c commit 5e04cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explorer/e2e/testFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export async function testFilterPersistence(
await page.getByText(filterRegex(testFilter)).click();
const to_select = await getFirstFilterButton(page);
await expect(to_select.getByRole("checkbox")).not.toBeChecked();
await to_select.getByRole("checkbox").setChecked(true);
await to_select.getByRole("checkbox").click;
const filterName = (await to_select.innerText()).split("\n")[0]; //MAY NEED TO ADD SOME CHECKING MECHANISM HERE
await expect(to_select.getByRole("checkbox")).toBeChecked();
await page.locator("body").click();
Expand Down

0 comments on commit 5e04cbc

Please sign in to comment.