summaryrefslogtreecommitdiff
path: root/spec/features/ci_lint_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/ci_lint_spec.rb')
-rw-r--r--spec/features/ci_lint_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/features/ci_lint_spec.rb b/spec/features/ci_lint_spec.rb
index 9accd7bb07c..9bc23baf6cf 100644
--- a/spec/features/ci_lint_spec.rb
+++ b/spec/features/ci_lint_spec.rb
@@ -10,6 +10,7 @@ describe 'CI Lint', :js do
visit ci_lint_path
# Ace editor updates a hidden textarea and it happens asynchronously
# `sleep 0.1` is actually needed here because of this
+ find('#ci-editor')
execute_script("ace.edit('ci-editor').setValue(" + yaml_content.to_json + ");")
sleep 0.1
click_on 'Validate'