Add e2e test for MR status for builds on Jenkins CI
What does this MR do?
Adds e2e test for project pipeline integration with Jenkins CI and displaying merge request status for Jenkins builds.
Closes gitlab-org/quality/testcases#120 (closed)
To run the tests on your local:
- Find the latest gitlab-ee omnibus image built by the
Trigger:gitlab-docker
job in this MR's pipeline such as this one: https://gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/pipelines/90956374 where the image isregistry.gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/gitlab-ee:ff0e8c594ad8020e1ab512812c045aba6e942aa8
. This image is needed so that you have all the new qa selectors available in your GitLab instance. Use this image to run GitLab on your local:
docker run \
--publish 80:80 \
--name gitlab \
--hostname localhost \
registry.gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/gitlab-ee:ff0e8c594ad8020e1ab512812c045aba6e942aa8
- Run the tests:
CHROME_HEADLESS=false bin/qa Test::Instance::All http://localhost -- qa/specs/features/ee/browser_ui/3_create/jenkins/jenkins_build_status_spec.rb
Conformity
Edited by Sanad Liaquat