Repository navigation
Add payment and account page component tests - #2062
Merged
Conversation
Add loading, error, empty, and success tests for the payment, credits, usage, and wallet error pages. Cover payment creation’s idempotency key and payment status updates via WebSocket with polling fallback. Ensure CI checks pass. CLOSES DistinctCodes#1990
|
@ObedChibunna Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
@ObedChibunna is attempting to deploy a commit to the naijabuz's projects Team on Vercel. A member of the Team first needs to authorize it. |
…gister,-login)-lack-page-level-tests-DistinctCodes#1990
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
##SUMMARY
Add loading, error, empty, and success tests for the payment, credits, usage, and wallet error pages. Cover payment creation’s idempotency key and payment status updates via WebSocket with polling fallback. Ensure CI checks pass.
Adds component tests for payment, credits, usage, and wallet error pages, covering loading, error, empty, and success states. Also tests payment idempotency and WebSocket-to-polling fallback so key user flows are covered and CI can catch regressions.
Contracts checklist
Adds component coverage for payment, credits, usage, and wallet error pages, including payment creation idempotency and WebSocket-to-polling fallback. Fixes related test and build failures, and updates the contracts toolchain and lockfile to use stable Rust.
If this PR touches anything under
contracts/, confirm it against thepre-deployment security checklist before
requesting review:
make audit(CT-72 require_auth() coverage) passes.+/-on amounts.contracts/.Test plan
Local verification limits: PostgreSQL-dependent backend E2E/migration checks and Rust Clippy/tests/WASM build could not run in this environment.
CLOSES #1990