Commit c3be5cf5 authored by Martin Wortschack's avatar Martin Wortschack

fix qa selector

parent e11053d0
......@@ -14,7 +14,7 @@
.settings-content
= render partial: 'repository_mirrors_form'
%section.qa-repository-storage-settings.settings.as-repository-storage.no-animate#js-repository-storage-settings{ class: ('expanded' if expanded) }
%section.settings.as-repository-storage.no-animate#js-repository-storage-settings{ class: ('expanded' if expanded) }
.settings-header
%h4
= _('Repository storage')
......
......@@ -47,7 +47,7 @@
.settings-content
= render 'signin'
%section.settings.as-terms.no-animate#js-terms-settings{ class: ('expanded' if expanded) }
%section.qa-terms-settings.settings.as-terms.no-animate#js-terms-settings{ class: ('expanded' if expanded) }
.settings-header
%h4
= _('Terms of Service and Privacy Policy')
......
......@@ -6,11 +6,12 @@ module QA
include QA::Page::Settings::Common
view 'app/views/admin/application_settings/show.html.haml' do
element :repository_storage_settings
element :terms_settings
end
def expand_repository_storage(&block)
expand_section(:repository_storage_settings) do
expand_section(:terms_settings) do
RepositoryStorage.perform(&block)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment