Add e2e tests to validate benefits list to display correctly based on the criteria / filtered / options selected on the left. Updated config.js to support custom commands.
Moved tests to spec file names that reflect the pages in which the tests are run i.e., moved “print-selections” and “sort-benefits-list “tests to death-of-a-loved-one spec file because the tests are running on DOLO page. Also tests in “ui-render-content” spec have been moved to spec file names that reflect the pages in which the tests are being executed. Tests that were only validating content were enhanced to include validating benefits list to display correctly based on the criteria.
PR Summary
Add e2e tests to validate benefits list to display correctly based on the criteria / filtered / options selected on the left. Updated config.js to support custom commands. Moved tests to spec file names that reflect the pages in which the tests are run i.e., moved “print-selections” and “sort-benefits-list “tests to death-of-a-loved-one spec file because the tests are running on DOLO page. Also tests in “ui-render-content” spec have been moved to spec file names that reflect the pages in which the tests are being executed. Tests that were only validating content were enhanced to include validating benefits list to display correctly based on the criteria.
Related Github Issue
Type of change
Detailed Testing steps
npm run cy:run:chrome
Note. There is one failure in disability due to this defect https://github.com/GSA/usagov-benefits-eligibility/issues/949
Here is the test summary https://github.com/GSA/usagov-benefits-eligibility/actions/runs/5670225117