mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-24 05:38:52 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user