Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Onboarding chris #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chutch1994
Copy link

@jaybobo

What needs to be tested to ensure that the user authentication functionality of this app works correctly?

The logged_in? method that the dashboard uses to check to see if the user is authenticated. Also, the user should be able to go to other pages that require authentication.

Besides the faulty password scheme, what's the other glaring authentication problem with this application?

It keeps no record of users, so I can log in as anyone that I want (e.g. if I log in with jaybobo jaybobo, I'm jaybobo).

Cucumber is not a big fan of duplicating step_definitions, do you think you might reuse some of the steps from login_steps for your new scenarios.

You could have a centralized "navigate to the homepage and log in" step so that you can just call it in other scenarios when you want to test functionality that requires a user to be logged in.

@qubbit
Copy link
Member

qubbit commented Jan 18, 2017

Looks legit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants