summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/settings/ci_variables.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-08 06:08:35 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-08 06:08:35 +0000
commit028d8ac9fdde17782cc002563ecd7c5f77ea699f (patch)
treeb9e0c09d81cf7feb8abcb05983a5b8887f37e7cd /qa/qa/page/project/settings/ci_variables.rb
parentf77969819ac54a13966f16153cae23a66590cc35 (diff)
downloadgitlab-ce-028d8ac9fdde17782cc002563ecd7c5f77ea699f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa/qa/page/project/settings/ci_variables.rb')
-rw-r--r--qa/qa/page/project/settings/ci_variables.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/qa/qa/page/project/settings/ci_variables.rb b/qa/qa/page/project/settings/ci_variables.rb
index aef9800e876..f2ced668a60 100644
--- a/qa/qa/page/project/settings/ci_variables.rb
+++ b/qa/qa/page/project/settings/ci_variables.rb
@@ -26,6 +26,10 @@ module QA
within_element(:ci_variable_key_field) { find('input').set key }
fill_element :ci_variable_value_field, value
click_ci_variable_save_button
+
+ wait_until(reload: false) do
+ within_element(:ci_variable_table_content) { has_element?(:edit_ci_variable_button) }
+ end
end
def click_add_variable