Files
wallet/apps/extension/e2e/config/playwright.config.ts
T
Hanzo AI 78b18797d5 init: extract wallet from lux/exchange monorepo
Copies apps/extension, apps/mobile and 10 pkgs (wallet, ui, config,
utilities, sessions, gating, notifications, analytics, eslint-config,
prices) into a standalone pnpm workspace.  Resolves merge conflict
markers in extension and mobile package.json files, strips build
artifacts (.wxt, .output, Pods).
2026-04-11 01:59:19 -07:00

30 lines
758 B
TypeScript

import { defineConfig } from '@playwright/test'
import ms from 'ms'
const IS_CI = process.env.CI === 'true'
// oxlint-disable-next-line import/no-unused-modules
export default defineConfig({
testDir: '../tests',
testMatch: '**/*.test.ts',
workers: 1,
fullyParallel: false, // Extensions need sequential loading
maxFailures: IS_CI ? 10 : undefined,
retries: IS_CI ? 3 : 0,
reporter: 'list',
timeout: ms('60s'),
expect: {
timeout: ms('10s'),
},
use: {
screenshot: 'off',
video: 'retain-on-failure',
trace: 'retain-on-failure',
headless: false, // Chrome extensions require headed mode
launchOptions: {
args: ['--disable-blink-features=AutomationControlled'],
},
},
outputDir: '../test-results',
})