diff --git a/wallets/metamask/package.json b/wallets/metamask/package.json index 958996e7a..75c13b2f4 100644 --- a/wallets/metamask/package.json +++ b/wallets/metamask/package.json @@ -15,9 +15,9 @@ ], "scripts": { "build": "pnpm run clean && pnpm run build:dist && pnpm run build:types", - "build:cache": "synpress-core test/e2e/wallet-setup", - "build:cache:headless": "synpress-core test/e2e/wallet-setup --headless", - "build:cache:headless:force": "synpress-core test/e2e/wallet-setup --headless --force", + "build:cache": "synpress-core test/e2e/playwright/wallet-setup", + "build:cache:headless": "synpress-core test/e2e/playwright/wallet-setup --headless", + "build:cache:headless:force": "synpress-core test/e2e/playwright/wallet-setup --headless --force", "build:dist": "tsup --tsconfig tsconfig.build.json", "build:types": "tsc --emitDeclarationOnly --project tsconfig.build.json", "clean": "rimraf dist types", diff --git a/wallets/metamask/src/support/commands.ts b/wallets/metamask/src/support/commands.ts index 698b01a42..95857aea4 100644 --- a/wallets/metamask/src/support/commands.ts +++ b/wallets/metamask/src/support/commands.ts @@ -34,4 +34,4 @@ // visit(originalFn: CommandOriginalFn, url: string, options: Partial): Chainable // } // } -// } \ No newline at end of file +// } diff --git a/wallets/metamask/test/e2e/playwright/wallet-setup/basic.setup.ts b/wallets/metamask/test/e2e/playwright/wallet-setup/basic.setup.ts index 7776eead1..f8a152236 100644 --- a/wallets/metamask/test/e2e/playwright/wallet-setup/basic.setup.ts +++ b/wallets/metamask/test/e2e/playwright/wallet-setup/basic.setup.ts @@ -1,7 +1,7 @@ import { defineWalletSetup } from '@synthetixio/synpress-core' import { MetaMask } from '../../../../src' -import { SEED_PHRASE, PASSWORD } from '../../../../src/constants' +import { PASSWORD, SEED_PHRASE } from '../../../../src/constants' export default defineWalletSetup(PASSWORD, async (context, walletPage) => { const metamask = new MetaMask(context, walletPage, PASSWORD) diff --git a/wallets/metamask/test/e2e/playwright/wallet-setup/connected.setup.ts b/wallets/metamask/test/e2e/playwright/wallet-setup/connected.setup.ts index 454b4ea86..2d4e49b04 100644 --- a/wallets/metamask/test/e2e/playwright/wallet-setup/connected.setup.ts +++ b/wallets/metamask/test/e2e/playwright/wallet-setup/connected.setup.ts @@ -2,7 +2,7 @@ import { defineWalletSetup } from '@synthetixio/synpress-core' import { getExtensionId } from '@synthetixio/synpress-fixtures' import { MetaMask } from '../../../../src' -import { SEED_PHRASE, PASSWORD } from '../../../../src/constants' +import { PASSWORD, SEED_PHRASE } from '../../../../src/constants' export default defineWalletSetup(PASSWORD, async (context, walletPage) => { const extensionId = await getExtensionId(context, 'MetaMask')