mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Merge pull request #5388 from luisramos0/reg_proc
[Spree 2.1] Fix enterprise package selection submit button
This commit is contained in:
@@ -27,7 +27,7 @@ Openfoodnetwork::Application.routes.draw do
|
||||
|
||||
member do
|
||||
get :welcome
|
||||
put :register
|
||||
patch :register
|
||||
end
|
||||
|
||||
resources :producer_properties do
|
||||
|
||||
@@ -124,6 +124,10 @@ feature "Registration", js: true do
|
||||
|
||||
click_link "Go to Enterprise Dashboard"
|
||||
expect(page).to have_content "CHOOSE YOUR PACKAGE"
|
||||
|
||||
page.find('.full_hub h3').click
|
||||
click_button "Select and Continue"
|
||||
expect(page).to have_content "Your profile live"
|
||||
end
|
||||
|
||||
context "when the user has no more remaining enterprises" do
|
||||
|
||||
Reference in New Issue
Block a user