Commit 13958668 authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'qa-sl-nightly-117-stablize-editing-scope-label-spec-ce' into 'master'

CE port of "Stablize editing scope label spec - retry if dropdown is not visible"

See merge request gitlab-org/gitlab-ce!31145
parents 08c03e7e 09a7e5cd
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment