Skip to content

BaseballHelm: make authenticated coach/player smoke tests mandatory in CI #372

Description

@njrini99-code

Problem

BaseballHelm authenticated E2E tests can be skipped entirely unless seeded Baseball fixtures are present. CI can go green without exercising the coach shell, player shell, capability-filtered nav, or core daily surfaces.

Evidence

  • e2e/baseball-phase1.spec.ts skips coach tests unless PLAYWRIGHT_BASEBALL_SEEDED is set.
  • The same spec skips player tests unless PLAYWRIGHT_BASEBALL_SEEDED is set.
  • Existing route crawler coverage only hard-checks anonymous Baseball redirects; authenticated route crawling is Golf-only.

Why it matters

Recent PRs #344/#345 changed a huge amount of BaseballHelm shell, lifting, auth, nav, settings, and route behavior. Green CI should mean these flows actually ran.

Acceptance criteria

  • Provision deterministic seeded Baseball coach and player test accounts for CI.
  • CI fails loudly if required Baseball seeded auth is missing.
  • Authenticated smoke covers: Command Center, Player Today, Calendar, Roster, Stats Center/My Stats, Performance/Lift, Settings, and at least one denied capability route.
  • Include one fresh-account/onboarding smoke or explicit separate issue for it.
  • Document required env vars and seed reset process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    baseballBaseballHelmbugIncorrect behavior or regressiontech-debtTech debt to address later

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions