diff --git a/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_producer_spec.rb b/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_producer_spec.rb index b71cc59dde..8fb6731421 100644 --- a/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_producer_spec.rb +++ b/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_producer_spec.rb @@ -947,8 +947,10 @@ describe "Enterprise Summary Fee with Tax Report By Producer" do def visit_report login_as distributor_owner - visit admin_reports_path - click_on "Enterprise Fees With Tax Report By Producer" + visit admin_report_path( + report_type: :enterprise_fee_summary, + report_subtype: :enterprise_fees_with_tax_report_by_producer + ) expect(page).to have_button("Go") end end