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

Update Login test #19

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

Update Login test #19

wants to merge 6 commits into from

Conversation

adydams
Copy link
Contributor

@adydams adydams commented Jul 3, 2018

Action : Created the users_login files
Guide : The users_login. js file is use to run a TDD on the users' login functionality of user.controller.js file with frisby
global setup is kept
Date : 3rd July 2018

Copy link
Owner

@wilforlan wilforlan left a comment

Choose a reason for hiding this comment

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

You should not just expect a status 200, you should expect some properties and assert their types and check if they available to pass this test.

Also, you need to set a global token constant after a successful login

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