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.
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
npm run cy:run:cross-browser
To Run the Tests in GitHub: - In GitHub the tests will run concurrently
[ ] In the project Actions tab, select “Run Cypress Tests” workflow and run the workflow against “913-cypress-e2e-cross-browser” branch.
[ ] Here are the results from the run