update CI tests to support upgrade test
Upgrade CI pipeline test currently fails the upgrade test because the cypress tests are not desgined to run twice on the same deployment. The Gitlab tests have already been fixed. Reference the issue and MR
https://repo1.dso.mil/platform-one/big-bang/apps/developer-tools/gitlab/-/issues/48
https://repo1.dso.mil/platform-one/big-bang/apps/developer-tools/gitlab/-/merge_requests/93
To reduce maintenance effort we want to keep the gitlab and gitlab-runner test code in sync. Note: the test code should be the same but the test variable should be different so that the gitlab and gitlab-runner test can run on the same deployment.
Copy the test code from Gitlab for tests 01 through 04
chart/tests/cypress/01-gitlab-health.spec.js
chart/tests/cypress/02-gitlab-signup.spec.js
chart/tests/cypress/03-gitlab-login.spec.js
chart/tests/cypress/04-gitlab-create-project.spec.js
then fix (as-needed) the gitlab-runner test 05 for the pipeline test
chart/tests/cypress/05-run-pipeline.spec.js
Note: the cypress wait time for the pipeline to finish needs to be about 2 min in order for the test to complete in the BB pipeline with istio injection.