Add orchestrated test for opening a JIRA issue from vulnerabilities
What does this MR do and why?
This MR adds an :orchestrated
test to check that a JIRA issue can be opened from vulnerability details page.
How to set up and validate locally
Pre-requisite: JIRA instance should be up and running. You can run it locally on docker with the following command:
docker run --publish 8080:8080 --name jira --platform linux/amd64 registry.gitlab.com/gitlab-org/gitlab-qa/jira-gitlab:8.8-project-and-issue
Then you can run this test with GDK
JIRA_HOSTNAME="<JIRA_HOST>" JIRA_ADMIN_USERNAME="gitlab-qa" JIRA_ADMIN_PASSWORD="XXXX" GITLAB_ADMIN_PASSWORD="XXXX" GITLAB_QA_ACCESS_TOKEN=XXXX GITLAB_PASSWORD="XXXXX" QA_DEBUG=true CHROME_HEADLESS=false bundle exec bin/qa Test::Instance::All http://192.168.1.105:3000 ./qa/specs/features/ee/browser_ui/13_secure/vulnerabilities_jira_integration_spec.rb -- --tag orchestrated
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.