Visit page directly to save time

Shaved a couple of seconds off, 35->33 sec.

And make it easier to hide from the list.
This commit is contained in:
David Cook
2023-09-08 12:02:33 +10:00
committed by Konrad
parent b27f63fa60
commit ee2520a1f6

View File

@@ -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