Skip to content

test: keep the command preview card open regardless of the date - #10

Merged
mrgoonie merged 1 commit into
mainfrom
fix/9-fixture-expiry
Oct 13, 2026
Merged

mrgoonie merged 1 commit into
mainfrom
fix/9-fixture-expiry

Conversation

@mrgoonie

Copy link
Copy Markdown
Contributor

Closes #9

The command preview test built its card from the contract fixtures, whose expires_at is 2026-10-13T10:00:00Z. After that moment the card counts as expired, the Confirm button is hidden, and the test fails on every branch, main included.

The test now sets a far-future expires_at, as the OAuth card test in the same file already does.

Verification: pnpm test passes (408/408), pnpm lint is clean.

🤖 Generated with Claude Code

The card was built from contract fixtures that expire at a fixed moment, so the
test started failing once the wall clock passed it.

Closes #9

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mrgoonie
mrgoonie merged commit 46104b6 into main Oct 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ActionCard command preview test fails after the fixture expiry date

1 participant