test(e2e): allow the register probe's 403 now that sign-up is closed #362

Merged
jared merged 1 commits from fix/e2e-register-403 into lotus 2026-10-16 19:33:44 -04:00
Owner

Unblocks CI on every branch, including #360 and #361.

matrix.lotusguild.org turned off open registration on 2026-10-16 (accounts now come from SSO/LLDAP). So the login page's registration probe (POST /_matrix/client/v3/register) now answers 403 "Registration has been disabled" instead of 401 with the sign-up flows. The boot smoke test treated that console line as unexpected and failed (first seen on #360's run).

collectConsole now skips a 403 only when its source URL is the register endpoint. Any other 403 still fails the test.

Verified: boot.spec passes locally in chromium, webkit and iphone.

🤖 Generated with Claude Code

https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5

Unblocks CI on every branch, including #360 and #361. matrix.lotusguild.org turned off open registration on 2026-10-16 (accounts now come from SSO/LLDAP). So the login page's registration probe (`POST /_matrix/client/v3/register`) now answers **403 "Registration has been disabled"** instead of 401 with the sign-up flows. The boot smoke test treated that console line as unexpected and failed (first seen on #360's run). `collectConsole` now skips a 403 **only when its source URL is the register endpoint**. Any other 403 still fails the test. **Verified:** `boot.spec` passes locally in chromium, webkit and iphone. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
jared added 1 commit 2026-10-16 19:12:18 -04:00
test(e2e): allow the register probe's 403 now that sign-up is closed
CI / Build & Quality Checks (pull_request) Successful in 1m35s
CI / Trigger Desktop Build (pull_request) Skipped
CI / Docker image build & smoke test (pull_request) Skipped
CI / Secret scan (gitleaks) (pull_request) Successful in 6s
CI / Playwright smoke (e2e) (pull_request) Successful in 9m50s
f22f9f07a3
matrix.lotusguild.org turned off open registration (2026-10-16; accounts
come from SSO/LLDAP), so the login page's registration probe
(POST /_matrix/client/v3/register) now answers 403 "Registration has been
disabled" instead of 401 + UIA flows. The boot smoke test treated that
console line as unexpected and failed on every branch (seen on #360).

collectConsole now skips a 403 only when its source URL is the register
endpoint; any other 403 still fails the test.

Verified: boot.spec passes locally in chromium, webkit and iphone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
jared merged commit b0eb3da830 into lotus 2026-10-16 19:33:44 -04:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/cinny#362