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
754b3f2d
Commit
754b3f2d
authored
Mar 03, 2022
by
Desiree Chevalier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add testcase links to new package e2e specs
parent
b081ccfa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
16 deletions
+38
-16
qa/qa/specs/features/browser_ui/5_package/container_registry/container_registry_omnibus_spec.rb
...age/container_registry/container_registry_omnibus_spec.rb
+0
-2
qa/qa/specs/features/browser_ui/5_package/package_registry/maven/maven_group_level_spec.rb
..._package/package_registry/maven/maven_group_level_spec.rb
+0
-1
qa/qa/specs/features/browser_ui/5_package/package_registry/maven/maven_project_level_spec.rb
...ackage/package_registry/maven/maven_project_level_spec.rb
+19
-7
qa/qa/specs/features/browser_ui/5_package/package_registry/nuget/nuget_project_level_spec.rb
...ackage/package_registry/nuget/nuget_project_level_spec.rb
+19
-6
No files found.
qa/qa/specs/features/browser_ui/5_package/container_registry/container_registry_omnibus_spec.rb
View file @
754b3f2d
...
...
@@ -3,8 +3,6 @@
module
QA
RSpec
.
describe
'Package'
,
:orchestrated
,
only:
{
pipeline: :main
}
do
describe
'Self-managed Container Registry'
do
using
RSpec
::
Parameterized
::
TableSyntax
let
(
:project
)
do
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
project
.
name
=
'project-with-registry'
...
...
qa/qa/specs/features/browser_ui/5_package/package_registry/maven/maven_group_level_spec.rb
View file @
754b3f2d
...
...
@@ -3,7 +3,6 @@
module
QA
RSpec
.
describe
'Package'
,
:orchestrated
,
:packages
,
:object_storage
do
describe
'Maven group level endpoint'
do
using
RSpec
::
Parameterized
::
TableSyntax
include
Runtime
::
Fixtures
include_context
'packages registry qa scenario'
...
...
qa/qa/specs/features/browser_ui/5_package/package_registry/maven/maven_project_level_spec.rb
View file @
754b3f2d
...
...
@@ -3,8 +3,6 @@
module
QA
RSpec
.
describe
'Package'
,
:orchestrated
,
:packages
,
:object_storage
do
describe
'Maven project level endpoint'
do
using
RSpec
::
Parameterized
::
TableSyntax
let
(
:group_id
)
{
'com.gitlab.qa'
}
let
(
:artifact_id
)
{
"maven-
#{
SecureRandom
.
hex
(
8
)
}
"
}
let
(
:package_name
)
{
"
#{
group_id
}
/
#{
artifact_id
}
"
.
tr
(
'.'
,
'/'
)
}
...
...
@@ -112,10 +110,24 @@ module QA
package_project
.
remove_via_api!
end
where
(
:authentication_token_type
,
:maven_header_name
)
do
:personal_access_token
|
'Private-Token'
:ci_job_token
|
'Job-Token'
:project_deploy_token
|
'Deploy-Token'
where
do
{
'using a personal access token'
=>
{
authentication_token_type: :personal_access_token
,
maven_header_name:
'Private-Token'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/354347'
},
'using a project deploy token'
=>
{
authentication_token_type: :project_deploy_token
,
maven_header_name:
'Deploy-Token'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/354348'
},
'using a ci job token'
=>
{
authentication_token_type: :ci_job_token
,
maven_header_name:
'Job-Token'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/354349'
}
}
end
with_them
do
...
...
@@ -154,7 +166,7 @@ module QA
}
end
it
"pushes and pulls a maven package via maven using
#{
params
[
:authentication_token_type
]
}
"
do
it
'pushes and pulls a maven package via maven'
,
testcase:
params
[
:testcase
]
do
Support
::
Retrier
.
retry_on_exception
(
max_attempts:
3
,
sleep_interval:
2
)
do
Resource
::
Repository
::
Commit
.
fabricate_via_api!
do
|
commit
|
commit
.
project
=
package_project
...
...
qa/qa/specs/features/browser_ui/5_package/package_registry/nuget/nuget_project_level_spec.rb
View file @
754b3f2d
...
...
@@ -3,7 +3,6 @@
module
QA
RSpec
.
describe
'Package'
,
:orchestrated
,
:packages
,
:object_storage
do
describe
'NuGet project level endpoint'
do
using
RSpec
::
Parameterized
::
TableSyntax
let
(
:project
)
do
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
project
.
name
=
'nuget-package-project'
...
...
@@ -54,10 +53,24 @@ module QA
project
.
remove_via_api!
end
where
(
:authentication_token_type
,
:token_name
)
do
:personal_access_token
|
'Personal Access Token'
:ci_job_token
|
'CI Job Token'
:project_deploy_token
|
'Deploy Token'
where
do
{
'using a personal access token'
=>
{
authentication_token_type: :personal_access_token
,
maven_header_name:
'Private-Token'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/354351'
},
'using a project deploy token'
=>
{
authentication_token_type: :project_deploy_token
,
maven_header_name:
'Deploy-Token'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/354352'
},
'using a ci job token'
=>
{
authentication_token_type: :ci_job_token
,
maven_header_name:
'Job-Token'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/354353'
}
}
end
with_them
do
...
...
@@ -83,7 +96,7 @@ module QA
end
end
it
"publishes a nuget package and installs using a
#{
params
[
:token_name
]
}
"
do
it
'publishes a nuget package and installs'
,
testcase:
params
[
:testcase
]
do
Flow
::
Login
.
sign_in
Support
::
Retrier
.
retry_on_exception
(
max_attempts:
3
,
sleep_interval:
2
)
do
...
...
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