Commit 7e29c13f48
Verified · cmc ci/build: success ci/test: success
Layout: unified · split
e2e/websignup_test.go +1 −1
| @@ -56,7 +56,7 @@ func TestWebSignup(t *testing.T) { | ||
| 56 | 56 | status, body = browserPost(t, browser, inst.base()+"/register", url.Values{ |
| 57 | 57 | "username": {"erin"}, "invite": {inviteCode}, "key": {string(pub)}}) |
| 58 | 58 | 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") { | |
| 60 | 60 | t.Fatalf("signup: %d\n%s", status, body) |
| 61 | 61 | } |
| 62 | 62 | out, errOut, code := inst.ssh(t, key, "", "whoami") |