Skip to content

Epic: Initial setup of the WCC QA test automation framework #10

@nora-weisser

Description

@nora-weisser

Description:

Stand up the WCC QA test automation framework from scratch so the team has a reliable, type-safe foundation for both API and UI testing, with quality gates and CI in place.

This epic covers the end-to-end groundwork: the API testing layer, the admin portal UI testing layer, code-quality tooling (linter + formatter), and continuous integration. By the end, any contributor can clone the repo, configure credentials, and run a green test suite locally and on CI.

Goals

  • A two-layer, type-safe API testing framework (clients + services, Zod validation, Faker data).
  • Admin portal UI tests using the Page Object Model and Playwright best practices.
  • Consistent code style enforced automatically (ESLint + Prettier).
  • Automated test runs on every push/PR via GitHub Actions.

Out of scope

  • Test coverage for every endpoint/page (handled in follow-up epics).
  • Performance/load and security testing.

Child tickets

  1. Set up API tests
  2. Set up admin portal UI tests
  3. Set up linter and Prettier
  4. Set up GitHub Actions CI

Acceptance criteria

  • All four child tickets are completed and merged.
  • npm test runs both API and admin projects.
  • Linting and formatting pass cleanly on the whole repo.
  • CI runs the suite on every PR to main and reports status.

Metadata

Metadata

Assignees

Labels

No labels
No labels

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