[ARCHIVED] ee/browser_ui/4_verify/system_cancels_merge_request_in_merge_trains_spec.rb | Verify Merge Trains when system cancels a merge request creates a TODO task
This is E2E scenarios for a new To-Do item in todos list when a MR in a Merge Train is canceled by system (see feature descriptions).
--Note: Each scenario should live in its own spec file within 4_verify
section--
- Log into GitLab as premium user
- Create new project, setup runner, commit CI file and a text file using for this test
- Create a new user
- Enable Merge Train
- Add user to project as Maintainer
- Create a MR via API as this user (using his api token)
- Login as this user and visit this merge request page
- On this page wait for first pipeline to finish and click "Start merge trains" (or merge) button
- Immediately create merge conflict by update the text file but push commit straight to master
- On merge request page wait for system note "removed this merge request from the merge train"
- Go to To-Dos page
- Verify new item with content like
Removed from Merge Train <MR ID> '[MR TITLE]' at [NAME SPACE] · [TIME AGO]
New issue #1741 (closed)
Edited by Désirée Chevalier