/ playwright.config.ts
playwright.config.ts
 1  /**
 2   * @see {@link https://playwright.dev/docs/chrome-extensions Chrome extensions | Playwright}
 3   */
 4  import { defineConfig } from '@playwright/test'
 5  
 6  export default defineConfig({
 7    testDir: './e2e',
 8    retries: 2,
 9    webServer: {
10      command: 'npm run dev',
11      // start e2e test after the Vite server is fully prepared
12      url: 'http://localhost:3303/popup/main.ts',
13      reuseExistingServer: true,
14    },
15  })