Change CROSS_BROWSER_SPECS from '07-*.spec.ts' to '07-landing-pages.spec.ts'
so the cross-browser/mobile matrix only runs the landing page spec, not the
wallet-context conversion funnel spec that was never designed for non-Chromium
browsers.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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>
- Step timeout 900→1800s to accommodate 34 tests across 5 projects
- Remove test 06 (dashboard pages) from cross-browser specs — each
subtest creates a wallet context, making 4× browser runs too slow
- Cross-browser now runs 03 (GraphQL verification) + 07 (landing pages)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- launchOptions with --disable-dev-shm-usage and --no-sandbox are
Chromium-specific; passing them to Firefox/WebKit causes errors.
Move to chromium and android project use blocks only.
- Fix landing page CTA assertion to match actual button text
("Get $KRK", "Get Your Edge") instead of generic patterns.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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>