GSA-TTS / usagov-benefits-eligibility

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

Added capability for cross-browser support #945

Closed nehemiah-abuga closed 1 year ago

nehemiah-abuga commented 1 year ago

PR Summary

This PR add the capability to run cypress automated tests in Chrome, Edge, and Firefox browsers both locally and in GitHub. To ensure the tests run concurrently for the three browsers, the cypress.yml workflow file has been modified to add containers where tests related to a particular browser runs in their respective container. Tests that use invoke command have been modified to use attribute for assertions.

Type of change

To Run Tests Locally: - In local the tests will run sequentially

Since these tests run on Chrome, Firefox and Edge, ensure you have the browsers installed on you local machine

To Run the Tests in GitHub: - In GitHub the tests will run concurrently

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! ```
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! ```