import { defineConfig } from '@playwright/test';

export default defineConfig({
  testDir: './tests/e2e',
  timeout: 30000,
  use: {
    // Chrome extension testing
    channel: 'chrome',
  },
  projects: [
    {
      name: 'chromium-extension',
      use: {
        browserName: 'chromium',
        launchOptions: {
          args: [
            '--disable-extensions-except=.output/chrome-mv3',
            '--load-extension=.output/chrome-mv3',
          ],
        },
      },
    },
  ],
});
