mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-13 23:37:47 +00:00
Navigate more efficiently in spec
The spec is not supposed to test the navigation to the shop. Going directly to the shop reduces the test execution time by 7%.
This commit is contained in:
@@ -37,8 +37,7 @@ feature "shopping with variant overrides defined", js: true do
|
||||
outgoing_exchange.variants = [product1_variant1, product1_variant2, product2_variant1, product1_variant3, product3_variant1, product3_variant2, product4_variant1]
|
||||
outgoing_exchange.enterprise_fees << enterprise_fee
|
||||
sm.calculator.preferred_amount = 0
|
||||
visit shops_path
|
||||
click_link hub.name
|
||||
visit enterprise_shop_path(hub)
|
||||
end
|
||||
|
||||
describe "viewing products" do
|
||||
|
||||
Reference in New Issue
Block a user