Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-01-25 16:33:30 +0300
committerLin Jen-Shin <godfat@godfat.org>2018-01-25 16:33:30 +0300
commit73e3215b1b6dd2ed154622bbd4c3d16789ff3fa4 (patch)
treefc3d234e9e1fd5bd91e615e7f75e245c277b379f /qa
parent8586391e073901ef7dcd70e20f3ccc00774006d2 (diff)
Add more views check
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/project/settings/secret_variables.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/qa/qa/page/project/settings/secret_variables.rb b/qa/qa/page/project/settings/secret_variables.rb
index 846fd893f94..e3bfbfcf080 100644
--- a/qa/qa/page/project/settings/secret_variables.rb
+++ b/qa/qa/page/project/settings/secret_variables.rb
@@ -10,6 +10,15 @@ module QA
element :variable_value, '.variable-value'
end
+ view 'app/views/ci/variables/_index.html.haml' do
+ element :add_new_variable, 'btn_text: "Add new variable"'
+ end
+
+ view 'app/assets/javascripts/behaviors/secret_values.js' do
+ element :reveal_value, 'Reveal value'
+ element :hide_value, 'Hide value'
+ end
+
def fill_variable_key(key)
fill_in 'variable_key', with: key
end