Skip to content

Headless Smoke for All Scenes #780

Description

@SorraTheOrc

Summary

Establish deterministic headless smoke coverage for every Gym scene so CI and local QA can detect regressions quickly.

Player/User Experience Change

  • Player-facing: this feature introduces a clear, interactive Gym slice demonstrating the capability in a runnable scene.
  • Developer-facing: this feature provides deterministic tests and usage docs for repeatable validation.

Acceptance Criteria

  • Every Gym scene has at least one deterministic headless smoke test path.
  • Headless suites pass in CI-compatible runtime with fixed seeds where applicable.
  • Failures provide actionable diagnostics naming scene and failing assertion.
  • Re-running with same seed reproduces outcomes locally.
  • Docs define commands for full-suite and per-scene smoke runs.

Minimal Implementation

  • Create per-scene headless demo drivers/adapters as needed.
  • Add tests under tests/gym/ covering each Gym scene.
  • Standardize deterministic seed usage and assertion patterns.
  • Integrate scene-specific diagnostics into test outputs.
  • Document smoke runbook and troubleshooting guidance.

Dependencies

  • Gym Shell & Router
  • Deck & Seeded RNG Demos
  • Hand/Pile Interaction Demos
  • Overlay & UI Config Demos
  • Undo/Redo Workflow Demo
  • Transcript Recording Demo
  • Save/Load State Demo
  • Audio & Feedback Config Demo

Deliverables

  • Code changes for the Gym scene slice
  • Automated tests (unit/browser/headless as appropriate)
  • Documentation updates (scene snippet + centralized index linkage)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions