Skip to content

Create gitstore-admin compatibility test suite #301

@juliuskrah

Description

@juliuskrah

Parent initiative: #287

Summary

Create a compatibility test suite that keeps the commerce admin aligned with GitStore API behavior and expected operator console workflows.

Acceptance criteria

  • The admin package has CI coverage for npm run build, npm run test, npm run codegen, and npm run test:e2e.
  • Unit and component tests cover auth, route guards, table controls, forms, filters, saved views, and error mapping.
  • Playwright coverage exercises login, namespace/store switching, catalog browsing, product and ProductVariant detail, collections and categories, media selection, order and customer views where backend blockers are available, and diagnostics.
  • GraphQL operation/codegen checks fail when committed queries or mutations drift from the GitStore schema.
  • Test fixtures avoid direct service access and exercise the admin through gitstore-api boundaries.

Architecture note

gitstore-admin remains an optional add-on and consumes gitstore-api; it must not talk directly to gitstore-git-service.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions