diff --git a/spec/features/admin/admin_view_claim_further_education_payments_spec.rb b/spec/features/admin/admin_view_claim_further_education_payments_spec.rb index 469615e50f..05874b43c0 100644 --- a/spec/features/admin/admin_view_claim_further_education_payments_spec.rb +++ b/spec/features/admin/admin_view_claim_further_education_payments_spec.rb @@ -77,19 +77,21 @@ end scenario "Awaiting provider verification claim status" do - visit admin_claims_path(status: "awaiting_provider_verification") + visit admin_claims_path(filter: {status: "awaiting_provider_verification"}) find("a[href='#{admin_claim_tasks_path(claim_not_verified)}']").click expect(page).to have_content("Awaiting provider verification") visit admin_claims_path + click_link "Clear filters" find("a[href='#{admin_claim_tasks_path(claim_with_duplicates_no_provider_email_sent)}']").click expect(page).to have_content("Awaiting decision - not on hold") - visit admin_claims_path(status: "awaiting_provider_verification") + visit admin_claims_path(filter: {status: "awaiting_provider_verification"}) find("a[href='#{admin_claim_tasks_path(claim_with_duplicates_provider_email_sent)}']").click expect(page).to have_content("Awaiting provider verification") visit admin_claims_path + click_link "Clear filters" find("a[href='#{admin_claim_tasks_path(verified_claim)}']").click expect(page).to have_content("Awaiting decision - not on hold") end