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
16c29682
Commit
16c29682
authored
Feb 08, 2022
by
Zeff Morgan
Committed by
Andrejs Cunskis
Feb 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add canary specific storage test
parent
87e16374
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
qa/qa/specs/features/browser_ui/3_create/repository/push_to_canary_gitaly_spec.rb
...wser_ui/3_create/repository/push_to_canary_gitaly_spec.rb
+31
-0
No files found.
qa/qa/specs/features/browser_ui/3_create/repository/push_to_canary_gitaly_spec.rb
0 → 100644
View file @
16c29682
# frozen_string_literal: true
module
QA
RSpec
.
describe
'Create'
,
only:
{
subdomain:
%i[staging staging-canary]
}
do
describe
'Git push to canary Gitaly node over HTTP'
do
it
'pushes to a project using a canary specific Gitaly repository storage'
,
:smoke
,
:requires_admin
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/351116'
do
Flow
::
Login
.
sign_in_as_admin
project
=
Resource
::
Project
.
fabricate_via_api!
do
|
storage_project
|
storage_project
.
name
=
'canary-specific-repository-storage'
storage_project
.
repository_storage
=
'nfs-file-cny01'
# TODO: move to ENV var
end
Resource
::
Repository
::
Push
.
fabricate!
do
|
push
|
push
.
repository_http_uri
=
project
.
repository_http_location
.
uri
push
.
file_name
=
'README.md'
push
.
file_content
=
"# This is a test project named
#{
project
.
name
}
"
push
.
commit_message
=
'Add README.md'
push
.
new_branch
=
true
end
project
.
visit!
Page
::
Project
::
Show
.
perform
do
|
project_page
|
expect
(
project_page
).
to
have_file
(
'README.md'
)
expect
(
project_page
).
to
have_readme_content
(
"This is a test project named
#{
project
.
name
}
"
)
end
end
end
end
end
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