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:
Maikel Linke
2020-06-25 16:36:39 +10:00
parent 70347148a1
commit d7c9bb2e5a

View File

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