mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
test artifact upload from different nodes at the same time
This commit is contained in:
@@ -100,6 +100,7 @@ RSpec.describe '
|
||||
it 'shows error when order cycle is not selected' do
|
||||
select2_select distributor.name, from: 'order_distributor_id'
|
||||
click_button 'Next'
|
||||
raise 'Testing artifact upload from different nodes at the same time'
|
||||
|
||||
expect(page).to have_content "Order cycle can't be blank"
|
||||
end
|
||||
|
||||
@@ -92,6 +92,7 @@ RSpec.describe '
|
||||
it "shows such orders in a section labelled 'Open Orders'" do
|
||||
visit '/account'
|
||||
expect(page).to have_content 'Open Orders'
|
||||
raise 'Testing artifact upload from different nodes at the same time'
|
||||
|
||||
expect(page).to have_link 'Edit', href: order_path(d1o1)
|
||||
expect(page).to have_link 'Edit', href: order_path(d1o2)
|
||||
|
||||
Reference in New Issue
Block a user