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>
|
||
|---|---|---|
| .. | ||
| usertest | ||
| 01-acquire-and-stake.spec.ts | ||
| 02-max-stake-all-tax-rates.spec.ts | ||
| 03-verify-graphql-url.spec.ts | ||
| 04-recenter-positions.spec.ts | ||
| 05-optimizer-integration.spec.ts | ||
| 06-dashboard-pages.spec.ts | ||