bcgov/nr-waste-plus

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

开放

#675 创建于 2026年3月27日

 (0 条评论) (0 个反应) (0 位负责人)TypeScript (1 个派生)auto 404
documentationenhancementhelp wanted

仓库指标

星标
 (1 个星标)
PR 合并指标
 (平均合并 17小时 32分钟) (30 天内合并 47 个 PR)

描述

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.

贡献者指南