Commit 2dfe4ab4 authored by Eulyeon Ko's avatar Eulyeon Ko

Use wait_for_requests to wait for graphql calls

Wait for graphql request reponses
in graphql-based boards
in epics_swimlanes_drag_issue_spec.rb
parent 6ed042bb
...@@ -124,6 +124,8 @@ RSpec.describe 'epics swimlanes', :js do ...@@ -124,6 +124,8 @@ RSpec.describe 'epics swimlanes', :js do
page.within('.board-swimlanes-toggle-wrapper') do page.within('.board-swimlanes-toggle-wrapper') do
page.find('.dropdown-toggle').click page.find('.dropdown-toggle').click
page.find('.dropdown-item', text: 'Epic').click page.find('.dropdown-item', text: 'Epic').click
wait_for_requests
end end
end end
......
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