This PR adds Cypress automated tests to validate that correct content is displaying on the accordion cards. One accordion is validated in each page.
The automated test will validate accordion content on the following: -
• Death of a loved one English page - Survivor Benefits for Child accordion
• Death of a loved one Spanish page - Beneficios para padre/madre sobreviviente accodion
• Disability English page - Medicare Savings Programs (MSP) accordion
• Disability Spanish page - Pagos Concurrentes de Jubilación y de Discapacidad (CRDP) accordion
• Retirement English page - Thrift Savings Plan (TSP) accordion
• Retirement Spanish page - Programa de mejoramiento de vivienda (HIP) accordion
PR Summary
This PR adds Cypress automated tests to validate that correct content is displaying on the accordion cards. One accordion is validated in each page. The automated test will validate accordion content on the following: - • Death of a loved one English page - Survivor Benefits for Child accordion • Death of a loved one Spanish page - Beneficios para padre/madre sobreviviente accodion • Disability English page - Medicare Savings Programs (MSP) accordion • Disability Spanish page - Pagos Concurrentes de Jubilación y de Discapacidad (CRDP) accordion • Retirement English page - Thrift Savings Plan (TSP) accordion • Retirement Spanish page - Programa de mejoramiento de vivienda (HIP) accordion
Related Github Issue
https://github.com/GSA/usagov-benefits-eligibility/issues/911
Type of change
Detailed Testing steps
Link to testing steps in the issue or list them here:
npm run cypress:run_chrome
ui-render-content.cy.js
as well as other tests, except link tests, are passing (currently there is an issue with link tests that will be addressed in https://github.com/GSA/usagov-benefits-eligibility/issues/933)