summaryrefslogtreecommitdiff
path: root/spec/javascripts
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-05-03 12:12:58 +0100
committerFilipa Lacerda <filipa@gitlab.com>2019-05-07 15:23:47 +0100
commit31861b0f050ab4ba728c8d17bbe9d1970c4ce190 (patch)
tree011f57de27c983d180f4aed7ed619060d2d5a784 /spec/javascripts
parent5cd079e43498982dcef59e32ebf03d6fe6a06286 (diff)
downloadgitlab-ce-31861b0f050ab4ba728c8d17bbe9d1970c4ce190.tar.gz
Adds header column to variables listfe-header-row
For the variables list in CI/CD settings this commits adds an header row with titles
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/ci_variable_list/ajax_variable_list_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/ci_variable_list/ajax_variable_list_spec.js b/spec/javascripts/ci_variable_list/ajax_variable_list_spec.js
index 481b1a4d4b0..2839922fbd3 100644
--- a/spec/javascripts/ci_variable_list/ajax_variable_list_spec.js
+++ b/spec/javascripts/ci_variable_list/ajax_variable_list_spec.js
@@ -113,7 +113,7 @@ describe('AjaxFormVariableList', () => {
it('hides secret values', done => {
mock.onPatch(VARIABLE_PATCH_ENDPOINT).reply(200, {});
- const row = container.querySelector('.js-row:first-child');
+ const row = container.querySelector('.js-row');
const valueInput = row.querySelector('.js-ci-variable-input-value');
const valuePlaceholder = row.querySelector('.js-secret-value-placeholder');