getByTestId('swap-buy-button').waitFor({ state: 'visible' }) resolved
immediately because the button is always rendered; only its text changes.
Replace with expect(...).toHaveText('Buy KRK', { timeout: 60_000 }) to
correctly gate on the button returning to its idle state.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| harb-evaluator | ||
| bootstrap-common.sh | ||
| build-ci-images.sh | ||
| build-kraiken-lib.sh | ||
| ci-bootstrap.sh | ||
| dev.sh | ||
| quick-screenshot.mjs | ||
| review-poll.sh | ||
| review-pr.sh | ||
| run-usertest.sh | ||
| screenshot-stake-page.mjs | ||
| sync-tax-rates.mjs | ||
| wait-for-service.sh | ||
| watch-kraiken-lib.sh | ||