Add actions to MR Merge Check failed list for: Rebase
Context
In these epics:
we're moving the Merge widget from presenting ONE merge check failure at a time and support showing multiple checks' results.
Task
Currently, the single-failure state message displays the action of Rebase, Rebase without pipeline for MRs:
(...missing screenshot of single "Rebase" action...)
There are some variations. Please refer to: https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_rebase.vue
Note, however, not all Rebase states allow a rebase via Web UI, so we need to exclude those scenarios.
Example (fast-forward merge):
This issue covers re-implementing those actions in the list of merge checks:
Proposal
Re-implement the action "Mark as ready" as Level 2 Action:
in https://design.gitlab.com/patterns/merge-request-reports#level-2
Availability and Testing
Feature spec updates(possibly additions) - one merge check failed/multiple merge checks fail when a rebase is required.
Some of the E2E tests use the text in this widget for assertions so some small modifications to the E2E tests may be required.
This line will need to be modified.
Regression testing, please ensure associated MR is labelled with pipeline:run-all-e2e and e2e:package-and-test
job is passing. Ping @jay_mccure for code review of tests.