Skip to content

Commit

Permalink
clear filters in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
asmega committed Oct 8, 2024
1 parent fdbc086 commit d08e327
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d08e327

Please sign in to comment.