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-15 17:03:40 +0530
committerYour Name <you@example.com>2026-05-15 17:03:40 +0530
commita7d0a672d59bf8985a6fc0e61b49015fabd96513 (patch)
tree46814d1757649a640f53805a8d9dfc1b0f354289 /tests/playwright.config.mjs
parent8a2307a5ced6da94cc674602219d5a68a1246264 (diff)
Phase 1 working: captive portal, DNS hijack, NAT-based access control
- Fix WiFi init order: netif creation before esp_wifi_init, set mode before set_config - Replace broken netif input filter with NAPT on/off per authentication state - NAPT disabled by default, enabled when client granted, disabled on revoke - Fix test helpers: use -I wlp59s0 for ping, handle nslookup exit code 1 - All 20 API tests pass, all 6 smoke tests pass
Diffstat (limited to 'tests/playwright.config.mjs')
-rw-r--r--tests/playwright.config.mjs16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/playwright.config.mjs b/tests/playwright.config.mjs
new file mode 100644
index 0000000..fee0815
--- /dev/null
+++ b/tests/playwright.config.mjs
@@ -0,0 +1,16 @@
1import { defineConfig } from '@playwright/test';
2
3export default defineConfig({
4 testDir: '.',
5 testMatch: '*.spec.mjs',
6 timeout: 60000,
7 retries: 0,
8 use: {
9 headless: true,
10 viewport: { width: 1280, height: 900 },
11 screenshot: 'only-on-failure',
12 trace: 'on-first-retry',
13 },
14 reporter: [['list'], ['html', { open: 'never' }]],
15 workers: 1,
16});