...
Chefs uses test IDIR and password as GitHub secrets to run cypress tests. By default workflow triggers and cypress runs on dev environment for each push to main branch . The secrets are stored in the following manner. Secret variable KEYCLOAKUSERNAME is test IDIR username and KEYCLOAKPASSWORD is test IDIR password.
...
When a dev wants to run the cypress tests after the new code pushes to PR environment, Then dev needs to update the GitHub secrets enter PR number in order to run it on the PR environment. The secrets are stored in the following manner .
...
If a dev wants to run the new code in the PR environment, then they needs to update the secret DEPENV to new variable say PR-enter PR number for example 1114(whatever is the PR number) . After saving that dev needs to re run the workflow(manually) and in the textbox as in the screenshot above. After clicking on “Run workflow” button, cypress tests starts running and we can check the cypress result for any failed tests. If we don't enter any PR number cypress tests will run on default dev environment(/app)
...
Cypress report for the successful run will be like this
...