test artifact upload from different nodes at the same time

This commit is contained in:
Ahmed Ejaz
2024-08-13 00:22:10 +05:00
parent 83bf19084b
commit 8a2be468fc
2 changed files with 2 additions and 0 deletions

View File

@@ -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

View File

@@ -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)