Ghost/ghost/core/test/e2e-api/admin
Simon Backx 4c166e11df
Added E2E tests for batch sending (#15910)
refs https://github.com/TryGhost/Team/issues/2339

- Includes a new pattern in the job manager that allows us to properly
await jobs.
- Added new convenience mocking methods to stub settings
- Tests the main flows for bulk sending:
    - Sending in multiple batches
    - Sending to multiple segments
    - Handling a failed batch and retrying that batch
- Fixes bug in batch generation (ordering not working)

In a different PR I'll add more detailed tests.
2022-12-01 13:43:49 +01:00
..
__snapshots__ Fixed invalid query strings in tests 2022-11-30 13:31:06 +07:00
actions.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
activity-feed.test.js Added events to Post Analytics page (#15886) 2022-11-28 17:43:35 +04:00
config.test.js 💡 Upgraded Tenor API to v2 (#15087) 2022-08-05 12:13:27 +01:00
custom-theme-settings.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
db.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
email-previews.test.js Added email service package (#15849) 2022-11-21 10:29:53 +01:00
emails.test.js Added new email batch sending service (#15865) 2022-11-23 11:33:44 +01:00
explore.test.js Updated content-length header matchers 2022-10-05 17:34:17 +08:00
files.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
images.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
integrations.test.js Updated tests to incl. host limit cases for core integrations 2022-08-12 14:18:44 +01:00
invites.test.js Removed bluebird catch predicates from API endpoints 2022-08-24 11:27:09 +01:00
key-authentication.test.js Updated tests to incl. host limit cases for core integrations 2022-08-12 14:18:44 +01:00
labels.test.js Removed bluebird catch predicates from API endpoints 2022-08-24 11:27:09 +01:00
links.test.js Added edited property to links api 2022-10-20 18:17:44 +05:30
media.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
members-exporter.test.js Added E2E tests for batch sending (#15910) 2022-12-01 13:43:49 +01:00
members-importer.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
members-newsletters.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
members-stripe-connect.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
members.test.js Added specific newsletter support for bulk unsubscribes (#15742) 2022-11-16 14:29:00 +07:00
newsletters.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
notifications.test.js Refactored notifications e2e tests to use test framework 2022-09-09 19:51:50 +08:00
oembed.test.js 🐛 Fixed embedded cards for non-utf8 content (#15578) 2022-10-13 12:19:47 +01:00
offers.test.js Handled stripe setup for free trial offers 2022-08-11 11:04:39 +05:30
pages.test.js Added rendering of posts.lexical to posts.html when saving (#15416) 2022-09-15 16:49:14 +01:00
posts-legacy.test.js Added email service package (#15849) 2022-11-21 10:29:53 +01:00
posts.test.js Hardened tiers-related snapshot tests 2022-10-27 15:54:28 +08:00
rate-limiting.test.js 🔒 Fixed rate limiting for user login (#15336) 2022-08-31 10:33:42 -04:00
redirects.test.js Improved performance of prepareContentFolder function 2022-08-01 08:58:13 +02:00
roles.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
session.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
settings-files.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
settings.test.js Fixed tests for flag bumps and new setting 2022-10-27 18:26:46 +02:00
site.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
slugs.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
snippets.test.js Removed bluebird catch predicates from API endpoints 2022-08-24 11:27:09 +01:00
stats.test.js Added new referrer source stats API (#15449) 2022-09-22 16:34:26 +05:30
tags.test.js Removed bluebird catch predicates from API endpoints 2022-08-24 11:27:09 +01:00
themes.test.js Improved performance of prepareContentFolder function 2022-08-01 08:58:13 +02:00
tiers.test.js Fixed invalid query strings in tests 2022-11-30 13:31:06 +07:00
users.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
utils.js Reduced default post relations (#15798) 2022-11-15 10:17:26 +01:00
webhooks.test.js Removed bluebird catch predicates from API endpoints 2022-08-24 11:27:09 +01:00