diff options
author | Ramya Authappan <rauthappan@gitlab.com> | 2019-07-26 06:29:58 +0000 |
---|---|---|
committer | Ramya Authappan <rauthappan@gitlab.com> | 2019-07-26 06:29:58 +0000 |
commit | 13958668854bc98676d6414c0debaeb4b91a9943 (patch) | |
tree | d9a972130a2c93e759c9a69ec0a7538138dc2ec6 | |
parent | 08c03e7e17c090861f8ab9336ee71bbac78eaab3 (diff) | |
parent | 09a7e5cdd0003383b259dc7b7ff7a24691a9f78f (diff) | |
download | gitlab-ce-13958668854bc98676d6414c0debaeb4b91a9943.tar.gz |
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
-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 |