harb/tests/e2e
johba f3a2a7100f fix: feat: E2E quality gate — mobile viewports + cross-browser matrix (#1099)
Add Playwright projects for Chromium, Firefox, WebKit, iPhone 14, and
Pixel 7 viewports. Chromium runs all specs (01-07); other projects run
read-only specs (03, 06, 07) after Chromium finishes, using project
dependencies to ensure chain state exists.

Coverage audit:
- Tests 01/02 already cover /app/get-krk, /app/cheats as part of flows
- Test 03 verifies GraphQL endpoints
- Test 06 covers wallet + position dashboards
- New test 07 adds landing page and docs smoke coverage

Changes:
- playwright.config.ts: 5 projects (3 desktop browsers + 2 mobile)
- wallet-provider.ts: accept optional viewport/screen for mobile contexts
- 03, 06 specs: pass project viewport to wallet context
- 07-landing-pages.spec.ts: new spec for landing homepage + docs
- e2e.yml: timeout 600→900s for cross-browser matrix, updated comments

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 10:55:01 +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: feat: E2E quality gate — mobile viewports + cross-browser matrix (#1099) 2026-03-23 10:55:01 +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: feat: E2E quality gate — mobile viewports + cross-browser matrix (#1099) 2026-03-23 10:55:01 +00:00
07-landing-pages.spec.ts fix: feat: E2E quality gate — mobile viewports + cross-browser matrix (#1099) 2026-03-23 10:55:01 +00:00