Skip to content

e2e: run the root Playwright config (office suites) in CI against a static web export #807

Closed

Description

@thinkclay

Follow-up to #553. The office kanban suite now runs and passes locally (23/23), but nothing in CI executes the root playwright.config.ts: .github/workflows/e2e-nightly.yml runs cd apps/scaffald && pnpm test:e2e, which is apps/scaffald/tests/e2e/playwright.config.ts (auth + navigation smoke). The office suites under tests/e2e/office/ and the auth setup project under tests/infrastructure/playwright/setup/ are only ever run by hand.

Two things learned making it pass locally

  1. Do not run it against expo start --web. Three parallel setup workers doing SSR page loads OOM'd Metro's 8 GB heap in ~9 minutes (ERR_ABORTED → ERR_EMPTY_RESPONSE → ERR_CONNECTION_REFUSED on page.goto). expo export --platform web + expo serve --port 8081 served the same run in 31 s with no failures, and is what a nightly should build once and reuse.
  2. The suite mutates the seed. The drag tests move applications between stages and one confirms a rejection, so the "new" column drains across repeated runs until the fixture-precondition test goes red. Local counts after one green run: new 4 → the next run starts from there. CI gets a fresh pnpm supa start each time; locally, reseed (pnpm supa db reset) or accept the drift.

Acceptance

Related: #553, #592 (the profile specs are in the same "corrected but not executed" state).

Activity

  1. added
    agent-ready
    on Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXagent-ready

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions