test(frontend): SwapPage stale-submit regression for #356 #861
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!861
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "local1/356-impl-submit-gating"
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
Core submit–quote alignment for #356 is on
main(5a25419, merge49fdaf9). This MR adds the remaining acceptance-criteria regression: a SwapPage component test proving the Swap button stays Calculating… / disabled while typed pay amount ≠ debounced sim key, then re-enables after debounce settles.Also crosslinks the test in
skills/AGENTS_FRONTEND_SWAP_ROUTE_DISPLAY.md.Test plan
cd frontend-dapp && npx vitest run src/utils/quoteDebounce.test.ts src/hooks/useSubmitAlignedSimQuote.test.ts src/pages/SwapPage.test.tsx -t "356"changed the description
changed the description
mentioned in issue #356
mentioned in commit
43d749cf98