playwright.config.noreset.js 754 B

1234567891011121314151617181920
  1. // TEMP config for running read-only E2E against the remote test env (cfc.iwintrue.com)
  2. // without the globalSetup DB reset (which targets an internal MySQL unreachable from
  3. // this sandbox and is irrelevant for remote read-only API checks). NOT committed.
  4. const { defineConfig } = require('@playwright/test');
  5. const path = require('path');
  6. module.exports = defineConfig({
  7. testDir: path.join(__dirname, 'e2e'),
  8. timeout: 30000,
  9. expect: { timeout: 10000 },
  10. use: {
  11. baseURL: process.env.PW_BASE_URL || 'http://cfc.iwintrue.com',
  12. headless: true,
  13. screenshot: 'only-on-failure',
  14. },
  15. projects: [
  16. { name: 'desktop', use: { browserName: 'chromium', viewport: { width: 1280, height: 800 } } },
  17. ],
  18. // intentionally no globalSetup
  19. });