Commit 73e3215b authored by Lin Jen-Shin's avatar Lin Jen-Shin

Add more views check

parent 8586391e
...@@ -10,6 +10,15 @@ module QA ...@@ -10,6 +10,15 @@ module QA
element :variable_value, '.variable-value' element :variable_value, '.variable-value'
end 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) def fill_variable_key(key)
fill_in 'variable_key', with: key fill_in 'variable_key', with: key
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