test(e2e): add playwright harness and test stack

- test(e2e): add playwright harness and test stack
- test(e2e): add core flow
- fix(ui): preserve same-origin browser form submissions
- fix(ui): offer reload inside stale edit dialogs
- test(e2e): add persona session and accessibility suites
- test(e2e): preserve per-run artifacts and clean pulled images
- test(e2e): verify import and audit state across navigation
- test(e2e): tighten verification helpers and persona checks
- test(e2e): bound response body reads of the browser observer
- test: recover review compatibility assertions
- test: stabilize audit and user flow assertions
This commit is contained in:
bryanpedini committed 2026-11-19 15:46:12 +01:00
1 parent a7ba01fc77
commit 57a005c19f
48 files changed
+6239 -6

No files matched your search

+1 -1
View File
@@ -577,7 +577,7 @@ func TestRenderLogin(t *testing.T) {
renderer := mustRenderer(t)
data := pageData{AppName: "Test DNS", Next: "/zones/example.org."}
_, body, _ := renderPage(t, renderer, "login", data)
for _, want := range []string{`action="/login"`, `method="post"`, `name="username"`, `name="password"`, `name="next" value="/zones/example.org."`} {
for _, want := range []string{`<meta name="referrer" content="same-origin">`, `action="/login"`, `method="post"`, `name="username"`, `name="password"`, `name="next" value="/zones/example.org."`} {
if !strings.Contains(body, want) {
t.Errorf("login: missing %s", want)
}