Domain page test: the ownership grace is relative to now (cherry-pick of 38b7a4b) #104

Merged
calvin merged 1 commit from w114-karta-test-fix into master 2026-11-18 06:03:52 +00:00
Owner

The DomainLive test pinned the ownership-missing date at 2026-11-09; once that was more than the seven-day grace in the past, the page's real-clock "Check now" withdrew verification mid-test and the test failed for everyone. This is a clean cherry-pick of shiloh/karta commit 38b7a4b (Calvin, 2026-11-16).

Test evidence before/after: test/karta_web/live/domain_live_test.exs fails on unmodified master here and passes after this patch (31 passed).

It makes external/karta CI green again; no deploy involved.

🤖 Generated with Claude Code

The DomainLive test pinned the ownership-missing date at 2026-11-09; once that was more than the seven-day grace in the past, the page's real-clock "Check now" withdrew verification mid-test and the test failed for everyone. This is a clean cherry-pick of shiloh/karta commit 38b7a4b (Calvin, 2026-11-16). Test evidence before/after: `test/karta_web/live/domain_live_test.exs` fails on unmodified master here and passes after this patch (31 passed). It makes external/karta CI green again; no deploy involved. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Domain page test: the ownership grace is relative to now
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
66bca3dcc4
The test fixed the ownership-missing date at 2026-11-09, and the page's
"Check now" runs the real-clock check: once the date was more than the
seven-day grace in the past, the click withdrew verification mid-test and
the administrator step below failed. The date is now an hour ago and the
expected strings are computed from it, so the test does not expire.

Co-Authored-By: Claude Code <noreply@anthropic.com>
calvin merged commit ff5fe2b457 into master 2026-11-18 06:03:52 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
external/karta!104
No description provided.