From 974a3bfc41fc86ccb0ddcbef4823b8a5bd9b3211 Mon Sep 17 00:00:00 2001 From: Ted Johansson Date: Tue, 8 Oct 2024 10:24:20 +0800 Subject: [PATCH] DEV: Fix flaky login wizard redirect spec (#29105) --- spec/system/login_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/login_spec.rb b/spec/system/login_spec.rb index a2036935cde..d11ca4f39be 100644 --- a/spec/system/login_spec.rb +++ b/spec/system/login_spec.rb @@ -63,7 +63,7 @@ shared_examples "login scenarios" do visit activation_link activate_account.click_activate_account - expect(page).to have_current_path("/wizard") + expect(page).to have_current_path(%r{/wizard}) end it "shows error when when activation link is invalid" do