mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
Adding test
This commit is contained in:
@@ -70,6 +70,10 @@ describe "Registration", js: true do
|
||||
expect(page).to have_content 'Last step to add My Awesome Enterprise!'
|
||||
|
||||
# Choosing a type
|
||||
click_button "Create Profile"
|
||||
expect(page).to have_content("Please choose one. Are you are producer?")
|
||||
expect(page).to have_button "Create Profile", disabled: false
|
||||
|
||||
click_link "producer-panel"
|
||||
expect(page).to have_selector '#producer-panel.selected'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user