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
64997049
Commit
64997049
authored
Aug 25, 2020
by
Jennifer Louie
Committed by
Ramya Authappan
Aug 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove hashed storage enabling step from Geo QA scenario
parent
787ad7eb
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 addition
and
91 deletions
+1
-91
qa/qa.rb
qa/qa.rb
+0
-6
qa/qa/ee/scenario/test/geo.rb
qa/qa/ee/scenario/test/geo.rb
+0
-9
qa/qa/page/admin/settings/component/repository_storage.rb
qa/qa/page/admin/settings/component/repository_storage.rb
+0
-26
qa/qa/page/admin/settings/repository.rb
qa/qa/page/admin/settings/repository.rb
+0
-23
qa/qa/resource/settings/hashed_storage.rb
qa/qa/resource/settings/hashed_storage.rb
+0
-26
qa/spec/page/validator_spec.rb
qa/spec/page/validator_spec.rb
+1
-1
No files found.
qa/qa.rb
View file @
64997049
...
...
@@ -109,10 +109,6 @@ module QA
autoload
:WikiPush
,
'qa/resource/repository/wiki_push'
end
module
Settings
autoload
:HashedStorage
,
'qa/resource/settings/hashed_storage'
end
module
Wiki
autoload
:ProjectPage
,
'qa/resource/wiki/project_page'
end
...
...
@@ -419,7 +415,6 @@ module QA
autoload
:NewSession
,
'qa/page/admin/new_session'
module
Settings
autoload
:Repository
,
'qa/page/admin/settings/repository'
autoload
:General
,
'qa/page/admin/settings/general'
autoload
:MetricsAndProfiling
,
'qa/page/admin/settings/metrics_and_profiling'
autoload
:Network
,
'qa/page/admin/settings/network'
...
...
@@ -427,7 +422,6 @@ module QA
module
Component
autoload
:IpLimits
,
'qa/page/admin/settings/component/ip_limits'
autoload
:OutboundRequests
,
'qa/page/admin/settings/component/outbound_requests'
autoload
:RepositoryStorage
,
'qa/page/admin/settings/component/repository_storage'
autoload
:AccountAndLimit
,
'qa/page/admin/settings/component/account_and_limit'
autoload
:PerformanceBar
,
'qa/page/admin/settings/component/performance_bar'
end
...
...
qa/qa/ee/scenario/test/geo.rb
View file @
64997049
...
...
@@ -27,7 +27,6 @@ module QA
unless
options
[
:geo_skip_setup?
]
Geo
::
Primary
.
act
do
add_license
enable_hashed_storage
set_replication_password
set_primary_node
add_secondary_node
...
...
@@ -64,14 +63,6 @@ module QA
end
end
def
enable_hashed_storage
puts
'Enabling hashed repository storage setting ...'
QA
::
Runtime
::
Browser
.
visit
(
:geo_primary
,
QA
::
Page
::
Main
::
Login
)
do
QA
::
Resource
::
Settings
::
HashedStorage
.
fabricate!
(
:enabled
)
end
end
def
add_secondary_node
puts
'Adding new Geo secondary node ...'
...
...
qa/qa/page/admin/settings/component/repository_storage.rb
deleted
100644 → 0
View file @
787ad7eb
# frozen_string_literal: true
module
QA
module
Page
module
Admin
module
Settings
module
Component
class
RepositoryStorage
<
Page
::
Base
view
'app/views/admin/application_settings/_repository_storage.html.haml'
do
element
:hashed_storage_checkbox
element
:save_changes_button
end
def
enable_hashed_storage
check_element
:hashed_storage_checkbox
end
def
save_settings
click_element
:save_changes_button
end
end
end
end
end
end
end
qa/qa/page/admin/settings/repository.rb
deleted
100644 → 0
View file @
787ad7eb
# frozen_string_literal: true
module
QA
module
Page
module
Admin
module
Settings
class
Repository
<
Page
::
Base
include
QA
::
Page
::
Settings
::
Common
view
'app/views/admin/application_settings/repository.html.haml'
do
element
:repository_storage_settings_content
end
def
expand_repository_storage
(
&
block
)
expand_content
(
:repository_storage_settings_content
)
do
Component
::
RepositoryStorage
.
perform
(
&
block
)
end
end
end
end
end
end
end
qa/qa/resource/settings/hashed_storage.rb
deleted
100644 → 0
View file @
787ad7eb
# frozen_string_literal: true
module
QA
module
Resource
module
Settings
class
HashedStorage
<
Base
def
fabricate!
(
*
traits
)
raise
ArgumentError
unless
traits
.
include?
(
:enabled
)
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
Page
::
Main
::
Menu
.
perform
(
&
:go_to_admin_area
)
Page
::
Admin
::
Menu
.
perform
(
&
:go_to_repository_settings
)
Page
::
Admin
::
Settings
::
Repository
.
perform
do
|
setting
|
setting
.
expand_repository_storage
do
|
page
|
page
.
enable_hashed_storage
page
.
save_settings
end
end
QA
::
Page
::
Main
::
Menu
.
perform
(
&
:sign_out
)
end
end
end
end
end
qa/spec/page/validator_spec.rb
View file @
64997049
...
...
@@ -32,7 +32,7 @@ describe QA::Page::Validator do
let
(
:view
)
{
spy
(
'view'
)
}
before
do
allow
(
QA
::
Page
::
Admin
::
Settings
::
Repository
)
allow
(
QA
::
Page
::
Admin
::
Settings
::
Network
)
.
to
receive
(
:views
).
and_return
([
view
])
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