Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: e2e tests #196

Merged
merged 1 commit into from
Jul 3, 2024
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
2 changes: 1 addition & 1 deletion e2e/connectWallet.test.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { test, expect } from "../playwright/fixtures";

test.describe("connect wallet", () => {
test.beforeEach(async ({ page }) => {

Check failure on line 4 in e2e/connectWallet.test.ts

View workflow job for this annotation

GitHub Actions / test (20)

[chromium] › connectWallet.test.ts:8:7 › connect wallet › should connect wallet using default metamask account

1) [chromium] › connectWallet.test.ts:8:7 › connect wallet › should connect wallet using default metamask account Test timeout of 120000ms exceeded while running "beforeEach" hook. 2 | 3 | test.describe("connect wallet", () => { > 4 | test.beforeEach(async ({ page }) => { | ^ 5 | await page.goto("/"); 6 | }); 7 | at /home/runner/work/maci-rpgf/maci-rpgf/e2e/connectWallet.test.ts:4:8
await page.goto("/");
});

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");
Expand Down
Loading