Skip to content

help wanted: Playwright automation for desk harden vignettes (base-01, base-07, base-15) #315

Description

@telivity-otaip

Why hotels care

Self-hosted hotels are told to walk ops/harden manually before go-live. Real GMs will not re-click twenty desk stories after every upgrade. The harden pack itself lists this as a non-goal for v1:

Automated full-SPA Playwright campaigns (use surface smoke + vignettes manually in v1)

We want contributors to graduate the highest-BLOCKER vignettes into CI-able Playwright so regressions that break check-in / checkout money / night audit get caught before a Friday cutover.

Current state (code anchors)

  • ops/harden/vignettes/ — 20 desk stories; README ranks severity
  • ops/harden/SURFACE_SMOKE.md — full SPA walk
  • ops/harden/README.md — explicitly manual today
  • Dashboard: Vite React app; API + Keycloak in compose / Cloud VM host services

What we need (phased)

Phase A — three BLOCKER vignettes only

  1. base-01 multi-room walk-in
  2. base-07 checkout blocked on balance
  3. base-15 night audit + due-out balance

Each test:

  • Seeds via API (prefer public test helpers / seed endpoints already used in Vitest)
  • Drives dashboard as front_desk / night_auditor
  • Asserts delight path OR documents known FRICTION without flaking

Phase B (later): wire pnpm test:e2e:harden into CI on a schedule or labeled PR

Open questions

  • Auth: Keycloak password grant in CI vs AUTH_ENABLED=false desk-only mode for e2e?
  • Seed strategy: dedicated e2e property UUID vs ephemeral property per run?

Acceptance criteria (Phase A)

  • Three Playwright specs green locally against documented compose/VM setup
  • Failures produce traces/screenshots artifacts
  • ops/harden/README.md documents how to run them
  • No invented hotel flows — follow vignette scripts exactly

How to contribute

Playwright + hospitality QA people are the target geniuses. If you have run Opera/Mews UAT scripts, translate that discipline here.

Comment to claim one vignette so we don’t collide.

Search keywords: Playwright, e2e, front desk, night audit, harden pack, hotel UAT, walk-in, checkout balance

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthardeningPost-v1.0 production hardeninghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions