Skip to content

Update Login test#19

Open
adydams wants to merge 6 commits into
wilforlan:masterfrom
adydams:login_test
Open

Update Login test#19
adydams wants to merge 6 commits into
wilforlan:masterfrom
adydams:login_test

Conversation

@adydams

@adydams adydams commented Jul 3, 2018

Copy link
Copy Markdown
Contributor

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

@wilforlan wilforlan left a comment

Copy link
Copy Markdown
Owner

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