Commit Graph

54 Commits

Author SHA1 Message Date
Shane Kilkelly 7bb4638186 Restore user features to default after acceptance test.
Fixes an issue that could come up when running the tests
several times.
2017-09-01 14:45:54 +01:00
Shane Kilkelly c170de7a4f Add unit test to cover project features. 2017-09-01 13:28:11 +01:00
Shane Kilkelly 25e0a19350 Make confirm-password routes more restful 2017-05-16 11:51:06 +01:00
Shane Kilkelly b09a41c557 Fix acceptance tests 2017-05-10 13:45:53 +01:00
Shane Kilkelly 635b935acc Add an acceptance test for login rate limits, cleanup 2017-01-16 11:46:59 +00:00
Shane Kilkelly 22101d0305 If user is sent to login page with explicit redirect, obey 2016-11-24 11:38:13 +00:00
Shane Kilkelly 8089bb55a4 use session for the post-login redirect, remove redir query string. 2016-11-22 14:24:36 +00:00
Shane Kilkelly b212c00311 Fix acceptance tests, use the correct method of getting redis key. 2016-11-14 16:33:54 +00:00
Shane Kilkelly 5f3098df38 Replace multi-ops with Async.series, tests passing 2016-11-09 11:03:03 +00:00
Shane Kilkelly 0f65e98566 add acceptance test for clearing sessions 2016-10-10 10:55:45 +01:00
Shane Kilkelly b497182557 Add an acceptance test for registration and login 2016-09-27 11:55:51 +01:00
Shane Kilkelly 6e8185aeaf Merge branch 'master' into sk-passport 2016-09-23 10:28:35 +01:00
Shane Kilkelly 6c716ca252 Fix acceptance tests by updating invite-accept url 2016-09-23 10:28:17 +01:00
Shane Kilkelly a3ace1fccd Increase timeout because slow tests 2016-09-22 11:33:54 +01:00
Shane Kilkelly 3a5b3a8e8d wip: acceptance tests working 2016-09-06 15:55:34 +01:00
Shane Kilkelly b0a10c948c wip refactor 2016-09-06 15:22:13 +01:00
Shane Kilkelly da40f54d55 Improve logging, add acceptance tests for joinProject json 2016-08-16 11:17:45 +01:00
Shane Kilkelly 3cec6affab Test creating two invites at once 2016-08-10 15:24:09 +01:00
Shane Kilkelly 5351e79c7a Test creating, listing and revoking invites as owner 2016-08-10 14:39:27 +01:00
Shane Kilkelly 9787edd716 Add more assertions about project access 2016-08-01 15:55:56 +01:00
Shane Kilkelly 9e0ff3f628 test when the token is invalid 2016-08-01 15:21:06 +01:00
Shane Kilkelly 495bc1bcd3 Refactor 2016-08-01 15:16:10 +01:00
Shane Kilkelly 8af1a7b17a Test login workflow 2016-08-01 15:16:03 +01:00
Shane Kilkelly 263822d665 Also parse out login url 2016-08-01 13:54:49 +01:00
Shane Kilkelly 5f1aa4cc58 test registration with invalid token 2016-08-01 13:30:43 +01:00
Shane Kilkelly 69bd954001 test the registration workflow 2016-08-01 12:14:34 +01:00
Shane Kilkelly 5159cdd0e9 Test when the user recieves second invite to project 2016-08-01 10:57:20 +01:00
Shane Kilkelly 545ce79c71 Test clicking the invite after already accepting 2016-08-01 10:14:08 +01:00
Shane Kilkelly 9c530e1bb6 rename test case 2016-08-01 10:04:42 +01:00
Shane Kilkelly 74c824edde Test redirect to /register when user not logged in 2016-08-01 09:59:30 +01:00
Shane Kilkelly 7a8142a43c remove extraneous body parameter 2016-08-01 09:06:02 +01:00
Shane Kilkelly 39fc611964 Revoke invite after each test 2016-07-29 13:55:08 +01:00
Shane Kilkelly e7c1f7f0fc Refactor, deduplicate tests 2016-07-29 13:39:18 +01:00
Shane Kilkelly f3a1f32bb1 Test the invalid-invite page 2016-07-29 11:54:08 +01:00
Shane Kilkelly b33d4e103d Test when the user does not accept the invite 2016-07-29 11:08:24 +01:00
Shane Kilkelly f33d01f375 Test acceptance of invite 2016-07-29 11:04:07 +01:00
Shane Kilkelly 563247044b Start testing the invite page 2016-07-29 09:52:55 +01:00
Shane Kilkelly 23c94c9599 get invite and link for test 2016-07-28 16:00:18 +01:00
Shane Kilkelly 748851b51e start ProjectInvite acceptance test module 2016-07-28 14:53:22 +01:00
Shane Kilkelly 9f724d0a04 Add tests to check if users can access a restricted page. 2016-07-06 12:14:01 +01:00
Shane Kilkelly a1c662b9d8 Test session revocation on password change. 2016-07-05 14:55:08 +01:00
Shane Kilkelly 2caa80bbcb acceptance test for logging in two sessions. 2016-07-05 14:21:38 +01:00
Shane Kilkelly bec3d2ad42 start acceptance tests for sessions 2016-07-05 10:24:24 +01:00
James Allen f182fbf396 Convert 'anonymous-user' from real-time api in 'null' internally 2016-03-22 09:53:47 +00:00
James Allen 7791805949 Allow admin access to projects 2016-03-21 17:03:41 +00:00
James Allen e7d67668e9 Improve error reporting and show 404 when project ids are malformed 2016-03-18 15:59:12 +00:00
James Allen 88b8ce1f80 Enable working settings acceptance tests 2016-03-18 15:59:12 +00:00
James Allen 71ef045728 Implement authorization guards in Authorization{Manager,Controller} 2016-03-14 17:06:57 +00:00
James Allen e36be96ec9 Move public access setting to its own end point 2016-03-10 11:13:57 +00:00
James Allen d235ab22ed Add in tests for public read-only projects 2016-03-09 16:28:46 +00:00