Don't need to wait for UI feedback: only check on page content

ie. table content
This commit is contained in:
Jean-Baptiste Bellet
2022-10-11 12:16:25 +02:00
parent 4705d306b5
commit bfbdb5f44b

View File

@@ -573,7 +573,6 @@ describe '
find("input.datepicker").click
select_dates_from_daterangepicker(from, today)
expect(page).to have_text 'Loading orders'
expect(page).to have_selector "tr#li_#{li1.id}"
expect(page).to have_selector "tr#li_#{li2.id}"