upleb.uk

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

summaryrefslogtreecommitdiff
path: root/package.json
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 /package.json
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 'package.json')
-rw-r--r--package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json
index d6e270b..dd61cd9 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,10 @@
7 "test:api": "node tests/api.mjs", 7 "test:api": "node tests/api.mjs",
8 "test:network": "node tests/network.mjs", 8 "test:network": "node tests/network.mjs",
9 "test:portal": "npx playwright test tests/captive-portal.spec.mjs", 9 "test:portal": "npx playwright test tests/captive-portal.spec.mjs",
10 "test:smoke": "node tests/smoke.mjs" 10 "test:happy-path": "npx playwright test tests/interop-happy-path.spec.mjs",
11 "test:interop": "npx playwright test tests/interop-esp32-openwrt.spec.mjs",
12 "test:smoke": "node tests/smoke.mjs",
13 "test:playwright": "npx playwright test"
11 }, 14 },
12 "devDependencies": { 15 "devDependencies": {
13 "@playwright/test": "^1.52.0" 16 "@playwright/test": "^1.52.0"