Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.
This repository was archived by the owner on May 29, 2026. It is now read-only.

Playwright e2e specs are stale (24/26 failures on dev container) #79

Description

@rubenvdlinde

Baseline state (2026-05-16)

Full Playwright run against the local dev container reports 24 failed, 1 passed, 21 skipped out of 49 specs. Auth was fixed by #78 (globalSetup writes a shared storageState file, removed the global `OCS-APIRequest` header that broke browser-form login). Specs now reliably reach the app, but each one then fails on selector / content / route assertions.

Categories of breakage observed

  1. Wrong landing path — many specs `page.goto('/apps/openbuilt')` which redirects to the Dashboard widget page (route `/`). The Virtual apps list (`.ob-app-card`) lives at `/applications`. Fixed in fix(#75): namespace manifest config.schema + test backfill + Playwright env #78 for `applicationCard` and `iconUpload`. Others still need updating.
  2. Stale seed expectation — specs expect `hello-world` Application to exist with specific manifest content; sometimes the seeded data differs (esp. after versioned-model migration in [8/8] fix(tests): stabilise 11 PHPUnit failures + ProductionVersionGuardListener runtime bug #65).
  3. Lifecycle-transition flow — `version-rollback` and `promoteDestructive` exercise publish/rollback paths that may have changed under ADR-002 (versioned-app model).
  4. Component selectors — `page-designer` and `schema-designer` look for CSS classes that may have been refactored under the page-editor v1.1 work (openbuilt-page-editor v1.1 follow-up: stubs + validator marks + undo/redo + tests #9).

Suggested rollout

Filed as a single tracker so the e2e debt doesn't get lost under the bug-fix queue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions