Commit f14c0059 authored by Sanad Liaquat's avatar Sanad Liaquat

Retry is dropdown is not visible

parent 5f908893
......@@ -71,7 +71,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