From 5c197f8d81735fa6d2a77ceeab3f17e11650b489 Mon Sep 17 00:00:00 2001 From: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Date: Wed, 3 Jul 2024 14:58:39 +0100 Subject: [PATCH] fix: e2e tests --- e2e/connectWallet.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/connectWallet.test.ts b/e2e/connectWallet.test.ts index ec451a40..daa501ba 100644 --- a/e2e/connectWallet.test.ts +++ b/e2e/connectWallet.test.ts @@ -6,7 +6,7 @@ test.describe("connect wallet", () => { }); test("should connect wallet using default metamask account", async ({ page }) => { - await page.getByText(/Connect wallet/).click(); + await page.getByRole("button", { name: "Connect wallet" }).first().click(); await page.getByTestId("rk-wallet-option-io.metamask").click(); const metamask = await page.context().waitForEvent("page");