From 8071741815f0b0938701e80a63e80b0ec94b2778 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 17 May 2026 17:18:43 +0530 Subject: refactor: reorganize test suite, add integration tests for NAT filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Move integration tests (api, network, phase2, smoke) to tests/integration/ - Move Playwright specs (captive-portal, interop-happy-path) to tests/e2e/ - Move playwright.config.mjs to tests/e2e/ - Fix hardcoded IP fallbacks: 192.168.4.1 → 10.192.45.1 - Add test-reset-auth.mjs: reset→pay→allow→revoke→block cycle - Add test-session-expiry.mjs: pay→wait 65s→verify blocked (slow test) - Add test-dns-firewall.mjs: DNS hijack/forward + per-client NAT filter - Update Makefile with test-unit, test-integration, test-e2e, test-all targets - Update package.json scripts for new paths - Fix Playwright video: retain-on-failure instead of always-on - Update AGENTS.md: per-client NAT filter description - Update CHECKLIST.md: mark completed items, add Board B identity - Board B nsec: 9af47906... → SSID TollGate-b96d80, AP IP 10.185.47.1 - 186 unit tests passing --- tests/playwright.config.mjs | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 tests/playwright.config.mjs (limited to 'tests/playwright.config.mjs') diff --git a/tests/playwright.config.mjs b/tests/playwright.config.mjs deleted file mode 100644 index d4118b8..0000000 --- a/tests/playwright.config.mjs +++ /dev/null @@ -1,18 +0,0 @@ -import { defineConfig } from '@playwright/test'; - -export default defineConfig({ - testDir: '.', - testMatch: '*.spec.mjs', - timeout: 120000, - retries: 0, - use: { - headless: true, - viewport: { width: 1280, height: 900 }, - screenshot: 'on', - video: 'on', - trace: 'on-first-retry', - }, - reporter: [['list'], ['html', { open: 'never' }]], - outputDir: 'test-results', - workers: 1, -}); -- cgit v1.2.3