bcgov/nr-waste-plus

[DEV TASK]: Improve Cypress test coverage with additional checks

Open

#675 opened on Mar 27, 2026

 (0 comments) (0 reactions) (0 assignees)TypeScript (1 fork)auto 404
documentationenhancementhelp wanted

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

Task Summary

Enhance the existing Cypress test suite by adding additional validation checks to improve overall reliability.

Task Details

The current Cypress test suite provides a solid foundation, but there are opportunities to strengthen it with additional checks. This task is to identify and implement further test coverage improvements across the application.

Scope

  • Review the existing Cypress tests to identify gaps in coverage.
  • Add additional assertions and checks to improve confidence in critical user flows.
  • Specific checks to be defined and added incrementally — see follow-up tasks below.

Areas to Evaluate

  • Edge case handling in existing flows
  • Accessibility checks (e.g., cypress-axe)
  • Visual regression checks
  • API response validation within E2E flows
  • Form validation and error state coverage
  • Cross-browser or responsive layout checks

Affected Environments

  • Development
  • Test
  • Production

Additional Context

  • The specific checks to implement will be defined in follow-up tasks as priorities are clarified.
  • All new tests should follow the existing Gherkin-based .feature file conventions used in the project.
  • Refer to the existing test suite and cypress/ directory for current patterns and conventions.

Contributor guide