harb/tests/e2e
johba a87eb7ed56 fix: use button role for landing CTA, revert risky test changes
Root cause: landing page CTA uses <KButton> (renders <button>), not <a>.
Test 07 was using getByRole('link') which never matched.

- Fix CTA locator: getByRole('button', { name: /get.*krk|get.*edge/i })
- Revert viewport-passing changes in tests 03, 06, and wallet-provider
  to match master — these were untested and added risk
- Cross-browser now only runs test 07 (landing pages) which uses the
  default { page } fixture — no wallet context needed
- Filter net::ERR_ from console error assertions (CI network noise)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 12:03:25 +00:00
..
usertest fix: Dozens of bare waitForTimeout() calls remain throughout e2e tests (#418) 2026-03-06 08:47:22 +00:00
01-acquire-and-stake.spec.ts fix: Swap completion detection relies on a fragile timing assumption (#415) 2026-03-06 09:27:17 +00:00
02-max-stake-all-tax-rates.spec.ts fix: Swap completion detection relies on a fragile timing assumption (#415) 2026-03-06 09:27:17 +00:00
03-verify-graphql-url.spec.ts fix: use button role for landing CTA, revert risky test changes 2026-03-23 12:03:25 +00:00
04-recenter-positions.spec.ts fix: update e2e tests for public recenter() — remove recenterAccess references 2026-03-14 01:44:15 +00:00
05-optimizer-integration.spec.ts fix: Update E2E tests for Optimizer (base) — drop OptimizerV3 bear-market constants 2026-02-26 19:37:12 +00:00
06-dashboard-pages.spec.ts fix: use button role for landing CTA, revert risky test changes 2026-03-23 12:03:25 +00:00
07-landing-pages.spec.ts fix: use button role for landing CTA, revert risky test changes 2026-03-23 12:03:25 +00:00