summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/web_ide
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-02-08 11:58:15 +0500
committerSanad Liaquat <sliaquat@gitlab.com>2019-02-08 11:58:15 +0500
commit46d10851a652b5d0d1b077849e6059688c7b95e6 (patch)
tree3707d6341e8795d0205f6709fc5463110233c652 /qa/qa/page/project/web_ide
parent724e904c3d4562bf3f1cee6abae1370e20e5ff58 (diff)
downloadgitlab-ce-46d10851a652b5d0d1b077849e6059688c7b95e6.tar.gz
Stablize select kind using retry_on_exceptionqa-nightly-72-stablize-select-kind
Introduces retry_on_exception and renames with_retry to retry_unti so its purpose is clear in presense of retry_on_exception.
Diffstat (limited to 'qa/qa/page/project/web_ide')
-rw-r--r--qa/qa/page/project/web_ide/edit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/page/project/web_ide/edit.rb b/qa/qa/page/project/web_ide/edit.rb
index a3e126b51da..2b6c01888d5 100644
--- a/qa/qa/page/project/web_ide/edit.rb
+++ b/qa/qa/page/project/web_ide/edit.rb
@@ -80,7 +80,7 @@ module QA
# Retry the attempt to click :commit_button just in case part of the
# animation is still in process even when the buttons have the
# expected visibility.
- commit_success_msg_shown = with_retry do
+ commit_success_msg_shown = retry_until do
click_element :commit_button
wait(reload: false) do