Skip to content

Avoid using group's web_url in issue_analytics QA

Takuya Noguchi requested to merge tnir-qa-avoid-using-group-web-url into master

What does this MR do and why?

Avoid using group's web_url in issue_analytics QA.

:analytics_path should be:

  • #{QA::Runtime::Scenario.gitlab_address}/groups/:group/-/issues_analytics for groups while web_url ought to be #{QA::Runtime::Scenario.gitlab_address}/:group (not including /groups), which will be fixed in !85190 (closed).
  • #{QA::Runtime::Scenario.gitlab_address}/:group/:project/-/issues_analytics for projects while web_url is #{QA::Runtime::Scenario.gitlab_address}/:group/:project

and so :analytics_path for group issue analytics cannot be generated from group.web_url without string manipulations.

Fixes up !15084 (merged) and its expansion !25417 (merged)

Blocks !85190 (closed)

Screenshots or screen recordings

n/a

How to set up and validate locally

  1. bundle exec rspec qa/qa/specs/features/ee/browser_ui/2_plan/issues_analytics/issues_analytics_spec.rb

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Takuya Noguchi

Merge request reports