Skip to content

Add Playwright smoke E2E coverage for Workloads table layout + Threads list loading #84

@rowan-stein

Description

@rowan-stein

User request

Latest bootstrap testing found Console regressions:

  1. Workloads table renders as a vertical list instead of a tabular grid.
  2. Threads list doesn’t load (backend error during participant nickname enrichment).

These should be covered with E2E tests so they’re caught in CI.

Specification (from investigation)

Reference: agynio/architectureoperations/e2e-testing.md (centralized E2E in agynio/e2e, Playwright tagging).

1) Workloads layout regression test

Add a Playwright test that fails if the Workloads “table” collapses to one column.

  • Create org / select org (reuse existing helpers)
  • Navigate to /organizations/:orgId/activity/workloads
  • Assert desktop layout:
    • at least two header cells (e.g. Agent / Thread / Runner) share ~the same Y coordinate
    • and their X coordinates increase left-to-right
    • (bounding-box based assertion is sufficient)

2) Threads list loads (smoke)

Add a Playwright smoke test:

  • Create org
  • Create at least one thread (reuse/create helper)
  • Navigate to /organizations/:orgId/threads
  • Assert at least one thread row is visible and there is no “Failed to load threads” UI state

Tagging

  • Ensure these run as part of smoke:
    • @smoke
  • Include service tags that the tests actually exercise (expected):
    • @svc_console, @svc_gateway, @svc_threads, @svc_identity

Existing tests

  • If there is an existing Threads pagination test, retag it to include @svc_threads and @svc_identity so backend changes execute relevant E2E.

Acceptance

  • New tests run in CI and fail on the regressions above.
  • Tests are tagged per operations/e2e-testing.md so they run in the right subsets.

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