Retry if dropdown is not visible
This commit is contained in:
parent
ba997f3c42
commit
09a7e5cdd0
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue