Skip to content

Commit 0814c7d

Browse files
author
Matthew Valancy
committed
test: Add gateway test configuration for end-to-end testing
- Playwright config for testing localhost gateway → VM routing - Tests full production architecture flow - Validates Traefik routing to remote demo VM via Tailscale
1 parent f8d4612 commit 0814c7d

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

playwright.gateway-test.config.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import { defineConfig, devices } from '@playwright/test';
2+
3+
export default defineConfig({
4+
testDir: './tests/e2e',
5+
testMatch: '**/demo-guest-login.spec.ts',
6+
fullyParallel: false,
7+
retries: 0,
8+
workers: 1,
9+
reporter: [['list']],
10+
use: {
11+
baseURL: 'http://localhost:8090',
12+
trace: 'on-first-retry',
13+
screenshot: 'only-on-failure',
14+
},
15+
projects: [
16+
{
17+
name: 'gateway-test',
18+
use: { ...devices['Desktop Chrome'] },
19+
},
20+
],
21+
});

0 commit comments

Comments
 (0)