summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-04-03 18:09:53 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-04-03 18:09:53 +0300
commit618959eeb001b04c99e7165e304c61e38d6b79b6 (patch)
treecae540246c7eec5f885612480c9a78151b5c005a
parent0f538c16acec8b849338b2d6f9f8c58b6bc143b2 (diff)
downloadgitlab-ce-618959eeb001b04c99e7165e304c61e38d6b79b6.tar.gz
Remove unnecessary section looking in admin settings qa
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--qa/qa/page/admin/settings/repository_storage.rb14
1 files changed, 2 insertions, 12 deletions
diff --git a/qa/qa/page/admin/settings/repository_storage.rb b/qa/qa/page/admin/settings/repository_storage.rb
index 34b4374fbe6..b4a1344216e 100644
--- a/qa/qa/page/admin/settings/repository_storage.rb
+++ b/qa/qa/page/admin/settings/repository_storage.rb
@@ -10,21 +10,11 @@ module QA
end
def enable_hashed_storage
- within_repository_storage do
- check 'Create new projects using hashed storage paths'
- end
+ check 'Create new projects using hashed storage paths'
end
def save_settings
- within_repository_storage do
- click_button 'Save changes'
- end
- end
-
- def within_repository_storage
- page.within('.as-repository-storage') do
- yield
- end
+ click_button 'Save changes'
end
end
end