qa: complete #463 verification — e2e wrap rate-limit banner #998
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic!998
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "qa/463-verify-wrap-rate-limit-e2e"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Verification of GitLab #463 (SEC-I05 F-04): MR !988 added the inline
swap-wrap-rate-limit-banneralert on/when the wrap-mapper rate limit blocks submit. This MR closes the remaining acceptance gap — Playwright E12 now asserts the banner is visible with retry guidance (not only the disabled CTA label), and docs/playbook cross-links document the SEC-I05 F-04 checks.Acceptance checklist
isRateLimitExceededtriggers inline alert below swap formSwapPage.tsxlines 1711–1714:alert-errorblock gated onisRateLimitExceededwithdata-testid="swap-wrap-rate-limit-banner"(merged in !988)WRAP_RATE_LIMIT_EXCEEDED_MESSAGE: "Daily wrap limit reached for this amount. Wait and try again later, or reduce the amount."npm run test:run -- src/pages/SwapPage.test.tsx -t "rate-limit alert"→ 1 passednpx playwright test e2e/wrap-swap.spec.ts -g "E12: rate limit exceeded" --project=e2e-tx→ 1 passed (assertsswap-wrap-rate-limit-banner+ retry copy)Test plan
bash scripts/with-node.sh --cwd frontend-dapp -- npm run test:run -- src/pages/SwapPage.test.tsx -t "rate-limit alert"bash scripts/with-node.sh --cwd frontend-dapp -- npx playwright test e2e/wrap-swap.spec.ts -g "E12: rate limit exceeded" --project=e2e-tx(LocalTerra + deploy env)docs/testing.md,skills/AGENTS_FRONTEND_SWAP_SAFETY_CTA.md,frontend-dapp/e2e/README.mdSecurity review — MR !998
Commit reviewed:
cca89a6ad4ece4017086d84c67d0043344170c4aBase:
a19bb72260d4d439d51d0764baddcb9631bf8189Scope
Diff-only review of QA verification for GitLab #463 (SEC-I05 F-04): Playwright E12 assertions for the wrap rate-limit inline banner, plus docs/playbook cross-links. No production (
SwapPage.tsx,wrapMapper.ts, LCD client) code changes in this MR.Method
routeWrapMapperRateLimitExceededLCD route mock (test-only; contract-address allowlist + fixed JSON payloads).WRAP_RATE_LIMIT_EXCEEDED_MESSAGE) viadata-testid, not interpolated user/LCD strings.Outcome
FINDINGS: 0 (no medium, high, or critical issues on this diff)
Security review: no medium+ findings on this diff.
Inline threads: none (no findings).
Notes (informational, not findings)
Production banner rendering (merged in !988) displays a compile-time constant in JSX text content — no new XSS or injection surface introduced by this MR. E2E mock helpers remain confined to Playwright test execution and do not ship to users.
mentioned in commit
4621116ed2