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
fe944546
Commit
fe944546
authored
Sep 28, 2020
by
Mark Lapierre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add push options testcase tags
parent
fd01dc4d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
qa/qa/specs/features/api/3_create/merge_request/push_options_labels_spec.rb
...es/api/3_create/merge_request/push_options_labels_spec.rb
+2
-2
qa/qa/specs/features/api/3_create/merge_request/push_options_mwps_spec.rb
...ures/api/3_create/merge_request/push_options_mwps_spec.rb
+2
-2
qa/qa/specs/features/api/3_create/merge_request/push_options_remove_source_branch_spec.rb
...e/merge_request/push_options_remove_source_branch_spec.rb
+1
-1
qa/qa/specs/features/api/3_create/merge_request/push_options_target_branch_spec.rb
...3_create/merge_request/push_options_target_branch_spec.rb
+1
-1
qa/qa/specs/features/api/3_create/merge_request/push_options_title_description_spec.rb
...eate/merge_request/push_options_title_description_spec.rb
+1
-1
No files found.
qa/qa/specs/features/api/3_create/merge_request/push_options_labels_spec.rb
View file @
fe944546
...
@@ -16,7 +16,7 @@ module QA
...
@@ -16,7 +16,7 @@ module QA
project
.
initialize_with_readme
=
true
project
.
initialize_with_readme
=
true
end
end
it
'sets labels'
do
it
'sets labels'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1032'
do
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
push
.
project
=
project
push
.
project
=
project
push
.
commit_message
=
commit_message
push
.
commit_message
=
commit_message
...
@@ -35,7 +35,7 @@ module QA
...
@@ -35,7 +35,7 @@ module QA
end
end
context
'when labels are set already'
do
context
'when labels are set already'
do
it
'removes them'
do
it
'removes them'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1033'
do
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
push
.
project
=
project
push
.
project
=
project
push
.
file_content
=
"Unlabel test
#{
SecureRandom
.
hex
(
8
)
}
"
push
.
file_content
=
"Unlabel test
#{
SecureRandom
.
hex
(
8
)
}
"
...
...
qa/qa/specs/features/api/3_create/merge_request/push_options_mwps_spec.rb
View file @
fe944546
...
@@ -29,7 +29,7 @@ module QA
...
@@ -29,7 +29,7 @@ module QA
runner
.
remove_via_api!
runner
.
remove_via_api!
end
end
it
'sets merge when pipeline succeeds'
do
it
'sets merge when pipeline succeeds'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1037'
do
Resource
::
Repository
::
Commit
.
fabricate_via_api!
do
|
commit
|
Resource
::
Repository
::
Commit
.
fabricate_via_api!
do
|
commit
|
commit
.
project
=
project
commit
.
project
=
project
commit
.
commit_message
=
'Add .gitlab-ci.yml'
commit
.
commit_message
=
'Add .gitlab-ci.yml'
...
@@ -72,7 +72,7 @@ module QA
...
@@ -72,7 +72,7 @@ module QA
expect
(
merge_request
.
merge_when_pipeline_succeeds
).
to
be
true
expect
(
merge_request
.
merge_when_pipeline_succeeds
).
to
be
true
end
end
it
'merges when pipeline succeeds'
do
it
'merges when pipeline succeeds'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1036'
do
Resource
::
Repository
::
Commit
.
fabricate_via_api!
do
|
commit
|
Resource
::
Repository
::
Commit
.
fabricate_via_api!
do
|
commit
|
commit
.
project
=
project
commit
.
project
=
project
commit
.
commit_message
=
'Add .gitlab-ci.yml'
commit
.
commit_message
=
'Add .gitlab-ci.yml'
...
...
qa/qa/specs/features/api/3_create/merge_request/push_options_remove_source_branch_spec.rb
View file @
fe944546
...
@@ -17,7 +17,7 @@ module QA
...
@@ -17,7 +17,7 @@ module QA
end
end
end
end
it
'removes the source branch'
do
it
'removes the source branch'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1035'
do
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
push
.
project
=
project
push
.
project
=
project
push
.
branch_name
=
branch
push
.
branch_name
=
branch
...
...
qa/qa/specs/features/api/3_create/merge_request/push_options_target_branch_spec.rb
View file @
fe944546
...
@@ -16,7 +16,7 @@ module QA
...
@@ -16,7 +16,7 @@ module QA
end
end
end
end
it
'sets a target branch'
do
it
'sets a target branch'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1034'
do
target_branch
=
"push-options-test-target-
#{
SecureRandom
.
hex
(
8
)
}
"
target_branch
=
"push-options-test-target-
#{
SecureRandom
.
hex
(
8
)
}
"
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
...
...
qa/qa/specs/features/api/3_create/merge_request/push_options_title_description_spec.rb
View file @
fe944546
...
@@ -14,7 +14,7 @@ module QA
...
@@ -14,7 +14,7 @@ module QA
end
end
end
end
it
'sets title and description'
do
it
'sets title and description'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1038'
do
description
=
"This is a test of MR push options"
description
=
"This is a test of MR push options"
title
=
"MR push options test
#{
SecureRandom
.
hex
(
8
)
}
"
title
=
"MR push options test
#{
SecureRandom
.
hex
(
8
)
}
"
...
...
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