Commit 3618283b authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Avoid issue_ordering spec crash using wait_for_vue_resource

parent 8dce7880
...@@ -38,6 +38,8 @@ describe 'Issue Boards', :feature, :js do ...@@ -38,6 +38,8 @@ describe 'Issue Boards', :feature, :js do
it 'moves un-ordered issue to top of list' do it 'moves un-ordered issue to top of list' do
drag(from_index: 3, to_index: 0) drag(from_index: 3, to_index: 0)
wait_for_vue_resource
page.within(first('.board')) do page.within(first('.board')) do
expect(first('.card')).to have_content(issue4.title) expect(first('.card')).to have_content(issue4.title)
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