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
807ff295
Commit
807ff295
authored
Feb 02, 2022
by
Désirée Chevalier
Committed by
Mark Lapierre
Feb 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test cases to maven gradle e2e spec
parent
ab695c19
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
qa/qa/specs/features/browser_ui/5_package/package_registry/maven_gradle_repository_spec.rb
..._package/package_registry/maven_gradle_repository_spec.rb
+5
-5
No files found.
qa/qa/specs/features/browser_ui/5_package/package_registry/maven_gradle_repository_spec.rb
View file @
807ff295
...
...
@@ -13,10 +13,10 @@ module QA
let
(
:package_version
)
{
'1.3.7'
}
let
(
:package_type
)
{
'maven_gradle'
}
where
(
:authentication_token_type
,
:maven_header_name
,
:testcase
)
do
:personal_access_token
|
'Private-Token'
|
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347601'
:ci_job_token
|
'Job-Token'
|
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347603'
:project_deploy_token
|
'Deploy-Token'
|
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347602'
where
(
:
case_name
,
:
authentication_token_type
,
:maven_header_name
,
:testcase
)
do
'using personal access token'
|
:personal_access_token
|
'Private-Token'
|
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347601'
'using ci job token'
|
:ci_job_token
|
'Job-Token'
|
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347603'
'using project deploy token'
|
:project_deploy_token
|
'Deploy-Token'
|
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347602'
end
with_them
do
...
...
@@ -31,7 +31,7 @@ module QA
end
end
it
"pushes and pulls a maven package via gradle using
#{
params
[
:authentication_token_type
]
}
"
,
testcase:
params
[
:testcase
]
do
it
'pushes and pulls a maven package via gradle'
,
testcase:
params
[
:testcase
]
do
Support
::
Retrier
.
retry_on_exception
(
max_attempts:
3
,
sleep_interval:
2
)
do
Resource
::
Repository
::
Commit
.
fabricate_via_api!
do
|
commit
|
gradle_upload_yaml
=
ERB
.
new
(
read_fixture
(
'package_managers/maven'
,
'gradle_upload_package.yaml.erb'
)).
result
(
binding
)
...
...
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