Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
887a26f2
Commit
887a26f2
authored
Oct 29, 2021
by
richard.chong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensures merge train was started before attempting to cancel
parent
cf327555
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
qa/qa/specs/features/ee/browser_ui/4_verify/cancelling_merge_request_in_merge_train_spec.rb
.../4_verify/cancelling_merge_request_in_merge_train_spec.rb
+4
-0
No files found.
qa/qa/specs/features/ee/browser_ui/4_verify/cancelling_merge_request_in_merge_train_spec.rb
View file @
887a26f2
...
@@ -124,6 +124,10 @@ module QA
...
@@ -124,6 +124,10 @@ module QA
it
'does not create a TODO task'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1884'
do
it
'does not create a TODO task'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1884'
do
# Manually removes merge request from the train
# Manually removes merge request from the train
Page
::
MergeRequest
::
Show
.
perform
do
|
show
|
Page
::
MergeRequest
::
Show
.
perform
do
|
show
|
show
.
wait_until
(
reload:
false
)
do
show
.
has_content?
'started a merge train'
end
show
.
cancel_auto_merge!
show
.
cancel_auto_merge!
expect
(
show
).
to
have_system_note
(
'removed this merge request from the merge train'
)
expect
(
show
).
to
have_system_note
(
'removed this merge request from the merge train'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment