summaryrefslogtreecommitdiff
path: root/qa/qa/specs/features/browser_ui/4_verify/secret_variable/add_secret_variable_spec.rb
diff options
context:
space:
mode:
authorMark Lapierre <mlapierre@gitlab.com>2018-09-12 12:53:24 -0400
committerMark Lapierre <mlapierre@gitlab.com>2018-09-12 12:53:24 -0400
commit26655e8c34cb8b97022fa61edc3d8cfd47dfb3bf (patch)
treeecea346a772963c88dc6ca1dd3667c042aeb93dd /qa/qa/specs/features/browser_ui/4_verify/secret_variable/add_secret_variable_spec.rb
parentdabc8211a9c65881b023d8bb69131c0d68aa50c6 (diff)
downloadgitlab-ce-ml-qa-clone-deploy-only.tar.gz
Test with only the deploy key specml-qa-clone-deploy-only
Diffstat (limited to 'qa/qa/specs/features/browser_ui/4_verify/secret_variable/add_secret_variable_spec.rb')
-rw-r--r--qa/qa/specs/features/browser_ui/4_verify/secret_variable/add_secret_variable_spec.rb28
1 files changed, 0 insertions, 28 deletions
diff --git a/qa/qa/specs/features/browser_ui/4_verify/secret_variable/add_secret_variable_spec.rb b/qa/qa/specs/features/browser_ui/4_verify/secret_variable/add_secret_variable_spec.rb
deleted file mode 100644
index 08a87df5837..00000000000
--- a/qa/qa/specs/features/browser_ui/4_verify/secret_variable/add_secret_variable_spec.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-module QA
- context :verify do
- describe 'Secret variable support' do
- it 'user adds a secret variable' do
- Runtime::Browser.visit(:gitlab, Page::Main::Login)
- Page::Main::Login.act { sign_in_using_credentials }
-
- Factory::Resource::SecretVariable.fabricate! do |resource|
- resource.key = 'VARIABLE_KEY'
- resource.value = 'some secret variable'
- end
-
- Page::Project::Settings::CICD.perform do |settings|
- settings.expand_secret_variables do |page|
- expect(page).to have_field(with: 'VARIABLE_KEY')
- expect(page).not_to have_field(with: 'some secret variable')
-
- page.reveal_variables
-
- expect(page).to have_field(with: 'some secret variable')
- end
- end
- end
- end
- end
-end