Wait for pipeline to pass and for the license report in E2E spec
What does this MR do?
The MR adds waiting for pipeline to succeed and for the License Report to be generated in attempt to fix the transient failures in browser_ui/secure/merge_request_license_widget_spec.rb
-> #333612 (closed). When looking at the screenshot in failed specs, sometimes pipeline is still running and so the spec if failing (example) and sometimes pipeline has passed but license report didn't show up yet (example).
Ran the test locally against 14.1.0-pre 639092ede6f
and it passed multiple times.
E2E Test Failure issue(s)
Check-list
-
General code guidelines check-list -
Quarantine test check-list -
Follow the Quarantining Tests guide. -
Confirm the test has a quarantine:
tag with the specified quarantine type. -
Note if the test should be quarantined for a specific environment.
-
-
Dequarantine test check-list -
Follow the Dequarantining Tests guide. -
Confirm the test consistently passes on the target GitLab environment(s). -
(Optionally) Trigger a manual GitLab-QA pipeline against a specific GitLab environment using the RELEASE
variable from thepackage-and-qa
job of the current merge request.
-
-
-
To ensure a faster turnaround, ask in the #quality
Slack channel for someone to review and merge the merge request, rather than assigning it directly.