Skip to content

Commit

Permalink
headless false
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrodri committed Apr 5, 2024
1 parent f78b974 commit 8a8229a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/connected/wallet-flow.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const test = baseTest.extend<{
wallet: "metamask",
version: MetaMaskWallet.recommendedVersion,
seed: "test test test test test test test test test test test junk", // Hardhat's default https://hardhat.org/hardhat-network/docs/reference#accounts
headless: true,
headless: false,
});

await wallet.addNetwork({
Expand All @@ -32,7 +32,7 @@ export const test = baseTest.extend<{
});

test("should be able to connect", async ({ wallet, page }) => {
await page.goto('/');
await page.goto('https://vote.optimism.io/');
await page.getByText('Connect Wallet').first().click();
await page.getByRole('button', { name: 'MetaMask' }).click();
await wallet.approve();
Expand Down

0 comments on commit 8a8229a

Please sign in to comment.