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