Fixing Batch Suggestions test
What does this MR do?
After some changes to the suggestion elements of the merge request page, our tests were not working as they should. The normal button that gives the option to apply the changes added to the bulk change is now available on every suggestion. Because of this, I changed the page object to actually choose the first out of one or more and click it, since there is no difference in which one you click.
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. -
(Optionally) In case of an emergency (e.g. blocked deployments), consider adding labels to pick into auto-deploy (Pick into auto-deploy priority1 severity1).
-
-
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.
Edited by Tomislav Nikić