Ghost/ghost/core/test/utils
Simon Backx ba8f082d41
Added awaiting jobs and events by default to all tests (#16505)
no issue

This change waits for domain events and jobs before continuing with the
next test. This prevents issues where background tasks in tests are
executed when the next test is running and the configurations have
changed, causing random error logs and test failures.

It also includes a change in Stripe mocking in one E2E test to make use
of the new StripeMocker instead of custom mocking in each test (also to
reduce error logs).
2023-04-06 09:05:16 +02:00
..
agents Sped up comments and feedback tests by reusing Ghost app instance 2022-11-18 14:58:35 +01:00
fixtures Added Portal signup terms settings and migration (#16545) 2023-04-04 10:04:12 +02:00
mocks Fixed Playwright tests for new email flow 2023-01-20 19:00:13 +01:00
admin-utils.js 🐛 Fixed missing published Admin assets when running in development 2022-08-04 10:55:35 +02:00
api.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
assertions.js Removed custom assertions 2023-03-10 14:29:55 +01:00
configUtils.js Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
db-utils.js Fixed warning about aborted connection in tests 2022-08-31 12:15:30 +01:00
e2e-framework-mock-manager.js Added resolveMx stub to all E2E tests 2023-03-21 11:25:06 +01:00
e2e-framework.js Added E2E test for sending email without post title 2023-03-14 16:05:18 +01:00
e2e-utils.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
fixture-utils.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
index.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
overrides.js Added awaiting jobs and events by default to all tests (#16505) 2023-04-06 09:05:16 +02:00
redirects.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
stripe-mocker.js Added awaiting jobs and events by default to all tests (#16505) 2023-04-06 09:05:16 +02:00
url-service-utils.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
urlUtils.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00