Skip to content

Login page acceptance tests #7

Merged
merged 5 commits into from Nov 30, 2019
Merged

Login page acceptance tests #7

merged 5 commits into from Nov 30, 2019

Conversation

soperd
Copy link
Collaborator

@soperd soperd commented Nov 29, 2019

Added some acceptance tests for the login page

This addresses #5

soperd added 5 commits Nov 27, 2019
Added acceptance testing for the login page feature using cucumber and
puppeteer. Test script has been changed to run Jest tests followed by
Cucumber features.

.githooks was also modified to run the test script on pre-commit so that
no code should be committed with failing tests.
Updated login-page so it doesn't crash the app with a missing user in
the database.
@soperd
Copy link
Collaborator Author

soperd commented Nov 29, 2019

Also updated the login page to use the new getUser methods (handles EntityNotFound)

Copy link
Collaborator

@ricardob ricardob left a comment

function is more efficient

@soperd soperd merged commit fc350c4 into master Nov 30, 2019
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants