Skip to content

Commit 6f1e380

Browse files
committed
Try again with some rearrangements
1 parent 8939949 commit 6f1e380

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

e2e/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default defineConfig({
2323
reporter: [['junit', { outputFile: 'results.xml' }]],
2424
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
2525
use: {
26-
headless: false,
26+
headless: true,
2727
permissions: ["clipboard-read"],
2828
/* Base URL to use in actions like `await page.goto('/')`. */
2929
// baseURL: 'http://localhost:3000',

e2e/testUtils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,9 @@ export async function registerNewMetaMaskWalletAndLogin(): Promise<RegisterMetaM
12081208
await testPage.screenshot({ path: 'login-error.png' });
12091209
throw error;
12101210
}
1211+
console.log("Starting metamask...")
12111212
const metamaskPromise = context.waitForEvent("page");
1213+
console.log("Waiting for metamask...")
12121214
await metamaskPromise;
12131215
console.log("MetaMask popup opened");
12141216
const metamaskPage = context.pages()[1]

0 commit comments

Comments
 (0)