Skip to content

Commit a299363

Browse files
committed
test: fix flaky test
1 parent 49ff33a commit a299363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ describe("keys", () => {
4242
await page.getByRole("textbox", { name: "Search" }).fill("mykey-13")
4343
await page.getByRole("textbox", { name: "Search" }).press("Enter")
4444

45-
await page.getByRole("button", { name: "mykey-" }).click()
45+
await page.getByRole("button", { name: "mykey-13", exact: true }).click()
4646
})
4747

4848
test("can cancel out of deleting a key", async ({ page }) => {

0 commit comments

Comments
 (0)