diff options
Diffstat (limited to 'qa/qa/page')
-rw-r--r-- | qa/qa/page/project/settings/ci_cd.rb | 10 | ||||
-rw-r--r-- | qa/qa/page/project/settings/repository.rb | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/qa/qa/page/project/settings/ci_cd.rb b/qa/qa/page/project/settings/ci_cd.rb index b3cbf572cb7..c43974c10cb 100644 --- a/qa/qa/page/project/settings/ci_cd.rb +++ b/qa/qa/page/project/settings/ci_cd.rb @@ -13,20 +13,10 @@ module QA element :variables_settings_content end - view 'app/views/shared/deploy_tokens/_index.html.haml' do - element :deploy_tokens_settings - end - view 'app/views/projects/deploy_keys/_index.html.haml' do element :deploy_keys_settings end - def expand_deploy_tokens(&block) - expand_section(:deploy_tokens_settings) do - Settings::DeployTokens.perform(&block) - end - end - def expand_deploy_keys(&block) expand_section(:deploy_keys_settings) do Settings::DeployKeys.perform(&block) diff --git a/qa/qa/page/project/settings/repository.rb b/qa/qa/page/project/settings/repository.rb index 9b48e62a9f9..97dfc6497a4 100644 --- a/qa/qa/page/project/settings/repository.rb +++ b/qa/qa/page/project/settings/repository.rb @@ -15,6 +15,16 @@ module QA element :mirroring_repositories_settings_section end + view 'app/views/shared/deploy_tokens/_index.html.haml' do + element :deploy_tokens_settings + end + + def expand_deploy_tokens(&block) + expand_section(:deploy_tokens_settings) do + Settings::DeployTokens.perform(&block) + end + end + def expand_protected_branches(&block) expand_section(:protected_branches_settings) do ProtectedBranches.perform(&block) |