Skip to content

Commit

Permalink
refactor: update Playwright test configurations and add asset managem…
Browse files Browse the repository at this point in the history
…ent tests
  • Loading branch information
nelitow committed Dec 16, 2024
1 parent 2a4fd48 commit 32db6b4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"test:e2e": "NODE_ENV=test pnpm build:crx && playwright test --config=packages/app/playwright.config.ts --project=chromium",
"test:e2e:beta": "NODE_ENV=test pnpm build:crx && playwright test --config=packages/app/playwright.config.ts --project=chrome-beta",
"test:e2e:crx-lock": "NODE_ENV=test pnpm build:crx && playwright test --config=packages/app/playwright.crx-lock.config.ts",
"test:e2e:assets": "NODE_ENV=test pnpm playwright test --config=packages/app/playwright.assets.testnet.config.ts",
"test:e2e:assets": "NODE_ENV=test pnpm playwright test --config=packages/app/playwright.assets.config.ts",
"test:e2e:contracts": "NODE_ENV=test pnpm build:crx && pnpm --filter=@fuel-wallet/e2e-contract-tests test:e2e",
"test:appfile": "pnpm --filter=fuels-wallet test --",
"ts:check": "turbo run ts:check",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import './load.envs.cts';

export default defineConfig({
...playwrightConfig,
testMatch: 'playwright/crx/assets.testnet.test.ts',
testMatch: 'playwright/crx/assets.test.ts',
testIgnore: undefined,
projects: [
{
Expand Down
5 changes: 1 addition & 4 deletions packages/app/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ export const playwrightConfig: PlaywrightTestConfig = {
},
},
],
testIgnore: [
'playwright/crx/lock.test.ts',
'playwright/crx/assets.testnet.test.ts',
],
testIgnore: ['playwright/crx/lock.test.ts', 'playwright/crx/assets.test.ts'],
};

export default defineConfig(playwrightConfig);
File renamed without changes.

0 comments on commit 32db6b4

Please sign in to comment.