upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/playwright.config.mjs
diff options
context:
space:
mode:
authorYour Name <you@example.com>2026-05-17 06:00:22 +0530
committerYour Name <you@example.com>2026-05-17 06:00:22 +0530
commit4fb44e7aa8f4643f5027a41e81e96c9ca303930d (patch)
treeff790c760d87fb3d15d08b6293dacdc019a3e6f8 /tests/playwright.config.mjs
parentfdf662f8f1a1a3b38fe4d251982fffab8e9bf664 (diff)
Playwright interop tests: 18 tests (ESP32 happy path + OpenWRT comparison)
- interop-happy-path.spec.mjs: 11 ESP32 TollGate tests + 7 ESP32↔OpenWRT interop tests - API discovery, whoami, usage, invalid/spent token rejection - Browser portal UI: branding, form elements, captcha detection URIs - Full payment flow screenshots (portal → token → connected → browsing) - Side-by-side ESP32 vs OpenWRT comparison screenshot - playwright.config.mjs: video on, screenshot on, 120s timeout - package.json: test:happy-path, test:interop, test:playwright scripts
Diffstat (limited to 'tests/playwright.config.mjs')
-rw-r--r--tests/playwright.config.mjs6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/playwright.config.mjs b/tests/playwright.config.mjs
index fee0815..d4118b8 100644
--- a/tests/playwright.config.mjs
+++ b/tests/playwright.config.mjs
@@ -3,14 +3,16 @@ import { defineConfig } from '@playwright/test';
3export default defineConfig({ 3export default defineConfig({
4 testDir: '.', 4 testDir: '.',
5 testMatch: '*.spec.mjs', 5 testMatch: '*.spec.mjs',
6 timeout: 60000, 6 timeout: 120000,
7 retries: 0, 7 retries: 0,
8 use: { 8 use: {
9 headless: true, 9 headless: true,
10 viewport: { width: 1280, height: 900 }, 10 viewport: { width: 1280, height: 900 },
11 screenshot: 'only-on-failure', 11 screenshot: 'on',
12 video: 'on',
12 trace: 'on-first-retry', 13 trace: 'on-first-retry',
13 }, 14 },
14 reporter: [['list'], ['html', { open: 'never' }]], 15 reporter: [['list'], ['html', { open: 'never' }]],
16 outputDir: 'test-results',
15 workers: 1, 17 workers: 1,
16}); 18});