Cover the Ona link in the _mr_title view spec

What does this merge request do and why?

The _mr_title view spec only renders the title with Ona disabled, so the Ona path in the code dropdown data never gets built during a full template render. A broken argument or variable in that path would not fail any spec.

This adds an example that enables Ona for the instance and the user, sets a different request host, and checks that gitpod_path uses the configured host. This covers the template and MergeRequestsHelper#gitpod_merge_request_url together, and confirms that the request host does not get into the cached fragment.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

merge request acceptance checklist

Evaluate this merge request against the merge request acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading
Loading