In CI (VITE_ENABLE_LOCAL_SWAP=true), the LocalSwapWidget renders a "Connect your wallet" message when no wallet is connected. The previous check looked for [data-testid="swap-amount-input"] which only appears with an active wallet, causing the test to fall through to the Uniswap link check (which also doesn't exist in local mode). Fix: detect local swap mode via the .local-swap-widget container class which is always rendered. Also add force:true for mobile CTA click. Co-Authored-By: Claude Opus 4.6 (1M context) <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 | ||
| 07-conversion-funnel.spec.ts | ||