Ghost/ghost/core/test/utils
Simon Backx 0107d2bb77 Fixed subscription status not showing correctly in emails
refs https://github.com/TryGhost/Team/issues/2674

- The segment detection doesn't work outside the main post content. So the data-gh-segment attribute didn't work. It is now replaced with just a simple email replacement that is empty for a free member.
- Fixed that a trialing member was shown as 'paid'. This is now replaced with 'trialing'.

This commit also includes E2E tests for a couple of member statusses.
2023-03-24 08:55:36 +01:00
..
agents Sped up comments and feedback tests by reusing Ghost app instance 2022-11-18 14:58:35 +01:00
fixtures Reverted zip's root file copying fix 2023-03-16 21:52:24 +01: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 Improved network access and mocking in tests (#16371) 2023-03-07 13:20:28 +01:00
redirects.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
stripe-mocker.js Fixed subscription status not showing correctly in emails 2023-03-24 08:55:36 +01: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