GSA-TTS / usagov-benefits-eligibility

Benefits eligibility estimator tool for USAGov.
23 stars 5 forks source link

Add e2e to validate content on accordion cards #934

Closed nehemiah-abuga closed 1 year ago

nehemiah-abuga commented 1 year ago

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:

github-actions[bot] commented 1 year ago
Pa11y testing results ``` > usagov-benefits-eligibility@1.3.1 test:pa11y > pa11y http://localhost:3000/ Welcome to Pa11y > Running Pa11y on URL http://localhost:3000/ No issues found! ```
github-actions[bot] commented 1 year ago
Pa11y testing results ``` > usagov-benefits-eligibility@1.3.1 test:pa11y > pa11y http://localhost:3000/ Welcome to Pa11y > Running Pa11y on URL http://localhost:3000/ No issues found! ```
github-actions[bot] commented 1 year ago
Pa11y testing results ``` > usagov-benefits-eligibility@1.3.2 test:pa11y > pa11y http://localhost:3000/ Welcome to Pa11y > Running Pa11y on URL http://localhost:3000/ No issues found! ```