Some checks failed
Build and Push Docker Images (Trusted) / build-and-push (., docker/caddy/Dockerfile, caddy) (push) Has been cancelled
Build and Push Docker Images (Trusted) / build-and-push (., docker/l4-port-manager/Dockerfile, l4-port-manager) (push) Has been cancelled
Build and Push Docker Images (Trusted) / build-and-push (., docker/web/Dockerfile, web) (push) Has been cancelled
Tests / test (push) Has been cancelled
30 lines
732 B
TypeScript
Executable File
30 lines
732 B
TypeScript
Executable File
import { defineConfig, devices } from '@playwright/test';
|
|
import { resolve } from 'node:path';
|
|
|
|
export default defineConfig({
|
|
testDir: './e2e',
|
|
globalSetup: './global-setup.ts',
|
|
globalTeardown: './global-teardown.ts',
|
|
fullyParallel: false,
|
|
workers: 1,
|
|
retries: 0,
|
|
timeout: 60_000, // functional tests need time for Caddy reloads
|
|
reporter: 'list',
|
|
use: {
|
|
baseURL: 'http://localhost:3000',
|
|
storageState: resolve(__dirname, '.auth/admin.json'),
|
|
trace: 'on-first-retry',
|
|
},
|
|
projects: [
|
|
{
|
|
name: 'chromium',
|
|
use: { ...devices['Desktop Chrome'] },
|
|
},
|
|
{
|
|
name: 'mobile-iphone',
|
|
use: { ...devices['iPhone 15'] },
|
|
testMatch: '**/mobile/**/*.spec.ts',
|
|
},
|
|
],
|
|
});
|