diff options
author | Sanad Liaquat <sliaquat@gitlab.com> | 2019-07-25 18:40:47 +0500 |
---|---|---|
committer | Sanad Liaquat <sliaquat@gitlab.com> | 2019-07-25 18:40:47 +0500 |
commit | 09a7e5cdd0003383b259dc7b7ff7a24691a9f78f (patch) | |
tree | ce566bd2f830750f8149eb24eabb44fe3112c74a /qa | |
parent | ba997f3c428d94adfc9a2eb4eb0daaa3d759c4df (diff) | |
download | gitlab-ce-09a7e5cdd0003383b259dc7b7ff7a24691a9f78f.tar.gz |
Retry if dropdown is not visibleqa-sl-nightly-117-stablize-editing-scope-label-spec-ce
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/project/issue/show.rb | 5 |
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 |