Ghost/ghost/core/test
Hannah Wolfe 642b6ff8ae
Added loginAs[Role] to e2e framework with example
closes: https://github.com/TryGhost/Toolbox/issues/342
refs: 032a26f9f3
refs: 588c9d04e8

- Now that the old `users:no-owner` (now named 'users') is working correctly :)
- Was able to add loginAs[Role] methods for each staff role, so that it's possible to execute tests as that user and check permissions
- Refactored the email preview tests to use the new e2e framework and these methods, as an example
2022-09-02 10:38:22 +01:00
..
e2e-api Added loginAs[Role] to e2e framework with example 2022-09-02 10:38:22 +01:00
e2e-browser Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
e2e-frontend Added missing return in create-stripe-update-session 2022-08-29 14:02:58 +02:00
e2e-server Removed out of date history items from UrlHistory 2022-08-25 16:09:34 -04:00
e2e-webhooks Enabled member attribution flag in all tests (#15317) 2022-08-25 15:25:01 -04:00
integration Added members_subscription_created_events table & model 2022-08-18 10:45:53 -04:00
regression Renamed users:no-owner to users as main user fixture 2022-09-02 10:08:37 +01:00
unit Reset magic link rate limiting upon successful login (#15345) 2022-09-01 08:54:14 -04:00
utils Added loginAs[Role] to e2e framework with example 2022-09-02 10:38:22 +01:00
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00