Skip to content

Add browser and device-facing test harness for motion interactions #27

@Jesssullivan

Description

Problem

The repo has solid unit and property-based tests for core physics, but the motion integration work needs browser-facing coverage for pointer, scroll, and device-motion flows. Browser sensor APIs also need explicit mock seams so tests can prove behavior without physical devices.

Scope

  • Add a small browser test or demo harness for interaction behavior.
  • Mock device motion/orientation events and permission responses.
  • Cover pointer coordinate mapping, scroll stickiness, motion permission gating, and cleanup.
  • Document manual test steps for actual mobile devices.

Validation

  • New test command or clearly documented browser harness.
  • Existing pnpm test, pnpm check, pnpm build, Bazelisk build, and npm dry-runs still pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    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