Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion spec/features/flows/sp_authentication_flows_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

it 'prompts the user to log in or sign up' do
screenshot_and_save_page
screenshot_and_open_image
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to leave this here or was it just for debugging?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm working with Adam to include screenshots in the output; I left this one here while we work on that output.

end

context 'when choosing Create Account' do
Expand All @@ -35,7 +36,7 @@
@email = Faker::Internet.safe_email
fill_in 'Email', with: @email
click_button t('forms.buttons.submit.default')
@user = User.find_by(email: @email)
@user = User.find_with_email(@email)
end

it 'informs the user to check email' do
Expand Down