From d9ec6e2ca3624201b68524f3bad35aa01bc09925 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 12 Apr 2024 12:34:26 +1000 Subject: [PATCH] Wait longer for real Stripe responses When we re-record cassettes, I noticed this spec failing. We may need to add this parameter to more specs. --- spec/system/admin/payments_stripe_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/admin/payments_stripe_spec.rb b/spec/system/admin/payments_stripe_spec.rb index 19ebf58306..0d648250ae 100644 --- a/spec/system/admin/payments_stripe_spec.rb +++ b/spec/system/admin/payments_stripe_spec.rb @@ -205,7 +205,7 @@ describe ' page.find('a.icon-void').click - expect(page).to have_content "VOID" + expect(page).to have_content "VOID", wait: 4 expect(payment.reload.state).to eq "void" end end