Commit 60ab2857 authored by Grant Young's avatar Grant Young

Fix File resource web_url property

Was using tree instead of blob incorrectly.
Worked on some environments due to redirect but this should be avoided entirely.
parent 2731aa70
......@@ -67,7 +67,7 @@ module QA
private
def transform_api_resource(api_resource)
api_resource[:web_url] = "#{Runtime::Scenario.gitlab_address}/#{project.full_path}/-/tree/#{branch}/#{api_resource[:file_path]}"
api_resource[:web_url] = "#{Runtime::Scenario.gitlab_address}/#{project.full_path}/-/blob/#{branch}/#{api_resource[:file_path]}"
api_resource
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment