Hopefully fix flaky OC spec

I couldn't reproduce this reliably but I found the loading of AngularJS
components a bit slow sometimes. So this is just a guess.
This commit is contained in:
Maikel Linke
2025-02-10 16:45:33 +11:00
parent 90f0c4badf
commit 1e1754db4b

View File

@@ -459,6 +459,7 @@ RSpec.describe '
visit edit_admin_order_cycle_path(oc)
click_link "Outgoing Products"
expect(page).to have_content "Managed distributor"
within "tr.distributor-#{distributor_managed.id}" do
page.find("td.products").click
end