Skip to content

Commit

Permalink
possible fix for order details feature spec intermittent failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Priyank Gupta authored and Mafi88 committed Mar 14, 2016
1 parent f53a004 commit 9f7672a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/spec/features/admin/orders/order_details_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,9 @@
click_icon :add
end

wait_for_ajax
order.reload

within(".stock-contents") do
expect(page).to have_content(product.name)
end
Expand Down

0 comments on commit 9f7672a

Please sign in to comment.