upleb.uk

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

summaryrefslogtreecommitdiff
path: root/CHECKLIST.md
diff options
context:
space:
mode:
authorYour Name <you@example.com>2026-05-16 04:51:57 +0530
committerYour Name <you@example.com>2026-05-16 04:51:57 +0530
commitee4e13680f522253f94e8ebdea5df80332afc495 (patch)
treeeb3270f5be079067b07de15b9af094c30582c68c /CHECKLIST.md
parent3063dea143b576792e5831421e5607cbd60d6816 (diff)
Phase 2 Playwright tests: 10/10 passing (portal, captive detection, API)
- Updated from Phase 1 tests to Phase 2 (302 redirects, Cashu token input) - Test captive detection URIs return 302 (using request API) - Test invalid token via request API (no CORS issues) - Tests: portal branding, price, token input, pay button, detection redirects - Tests: whoami, usage, API advertisement, invalid token
Diffstat (limited to 'CHECKLIST.md')
-rw-r--r--CHECKLIST.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/CHECKLIST.md b/CHECKLIST.md
index dc16b0b..2ac593c 100644
--- a/CHECKLIST.md
+++ b/CHECKLIST.md
@@ -58,12 +58,12 @@
58- [x] Test 19: Invalid token rejected (POST garbage → 400, kind=21023) — PASSING 58- [x] Test 19: Invalid token rejected (POST garbage → 400, kind=21023) — PASSING
59- [x] Test 20: Spent token rejected (reuse token → kind=21023) — PASSING 59- [x] Test 20: Spent token rejected (reuse token → kind=21023) — PASSING
60- [x] Test 21: Wrong mint rejected (POST token from wrong mint → kind=21023) — PASSING 60- [x] Test 21: Wrong mint rejected (POST token from wrong mint → kind=21023) — PASSING
61- [x] Test 22: Session expiry (wait for allotment → internet blocked) — PASSING
62- [x] Test 23: Session renewal (second payment → allotment extended) — PASSING
61- [x] Test: /whoami returns ip=X.X.X.X mac=XX:XX:XX:XX:XX:XX — PASSING 63- [x] Test: /whoami returns ip=X.X.X.X mac=XX:XX:XX:XX:XX:XX — PASSING
62- [x] Test: Portal has payment form (Cashu token input + Pay button) — PASSING 64- [x] Test: Portal has payment form (Cashu token input + Pay button) — PASSING
63 65
64### Tests Not Yet Run (need hardware + time) 66### Tests Not Yet Run (need Playwright)
65- [ ] Test 22: Session expiry (wait for allotment → internet blocked)
66- [ ] Test 23: Session renewal (second payment → allotment extended)
67- [ ] Test 24: Portal payment form visible in browser (Playwright) 67- [ ] Test 24: Portal payment form visible in browser (Playwright)
68- [ ] Test 25: Two clients pay independently 68- [ ] Test 25: Two clients pay independently
69- [ ] Test 26: Client isolation (only payer gets internet) 69- [ ] Test 26: Client isolation (only payer gets internet)