diff options
| author | Walmyr Lima <walmyr@gitlab.com> | 2019-06-13 14:49:29 +0200 |
|---|---|---|
| committer | Walmyr Lima <walmyr@gitlab.com> | 2019-06-13 14:49:29 +0200 |
| commit | e408d150f9027ff4f934aa4ccfeb59b0cc9d0965 (patch) | |
| tree | b641deeb44b2b153af90e59ef8dc879696d2618a | |
| parent | 35d1fe969e8eae877ff7bc957f6b0ace889c1ed5 (diff) | |
| download | gitlab-ce-e408d150f9027ff4f934aa4ccfeb59b0cc9d0965.tar.gz | |
Add extra lines to give breathing to the method
| -rw-r--r-- | qa/qa/page/project/issue/show.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qa/qa/page/project/issue/show.rb b/qa/qa/page/project/issue/show.rb index 6e743515d8c..b59540d0377 100644 --- a/qa/qa/page/project/issue/show.rb +++ b/qa/qa/page/project/issue/show.rb @@ -71,15 +71,19 @@ module QA def select_labels_and_refresh(labels) click_element(:edit_link_labels) + labels.each do |label| within_element(:dropdown_menu_labels, text: label) do send_keys_to_element(:dropdown_input_field, [label, :enter]) end end + click_body + labels.each do |label| has_element?(:labels_block, text: label) end + refresh end |
