diff --git a/spec/system/consumer/registration_spec.rb b/spec/system/consumer/registration_spec.rb index 17329c3169..7cd15f52ec 100644 --- a/spec/system/consumer/registration_spec.rb +++ b/spec/system/consumer/registration_spec.rb @@ -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'