summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-07-25 18:40:47 +0500
committerSanad Liaquat <sliaquat@gitlab.com>2019-07-25 18:40:47 +0500
commit09a7e5cdd0003383b259dc7b7ff7a24691a9f78f (patch)
treece566bd2f830750f8149eb24eabb44fe3112c74a
parentba997f3c428d94adfc9a2eb4eb0daaa3d759c4df (diff)
downloadgitlab-ce-qa-sl-nightly-117-stablize-editing-scope-label-spec-ce.tar.gz
-rw-r--r--qa/qa/page/project/issue/show.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/qa/qa/page/project/issue/show.rb b/qa/qa/page/project/issue/show.rb
index b59540d0377..507dccb52d0 100644
--- a/qa/qa/page/project/issue/show.rb
+++ b/qa/qa/page/project/issue/show.rb
@@ -70,7 +70,10 @@ module QA
end
def select_labels_and_refresh(labels)
- click_element(:edit_link_labels)
+ Support::Retrier.retry_until do
+ click_element(:edit_link_labels)
+ has_element?(:dropdown_menu_labels, text: labels.first)
+ end
labels.each do |label|
within_element(:dropdown_menu_labels, text: label) do