Commit 7e29c13f48

7e29c13f48002a95ee44da8ca6c9ca7c7a871019

parent: ccf54427de

Verified · cmc ci/build: success ci/test: success

cmc <hello@cleberg.net> · 2026-09-28 23:19 UTC

e2e: signup expects the registered page's numbered steps

Ref #264

Layout: unified · split

e2e/websignup_test.go +1 −1
@@ -56,7 +56,7 @@ func TestWebSignup(t *testing.T) {
5656 status, body = browserPost(t, browser, inst.base()+"/register", url.Values{
5757 "username": {"erin"}, "invite": {inviteCode}, "key": {string(pub)}})
5858 if status != 200 || !strings.Contains(body, "welcome, erin") ||
59 !strings.Contains(body, `href="/settings"`) || !strings.Contains(body, "paste the code") {
59 !strings.Contains(body, `href="/settings#emails"`) || !strings.Contains(body, "Paste the code") {
6060 t.Fatalf("signup: %d\n%s", status, body)
6161 }
6262 out, errOut, code := inst.ssh(t, key, "", "whoami")