Ghost/ghost/core/test/e2e-api/members
Simon Backx 80cec29144
Added Stripe Mocker to make testing easier (#16396)
no issue

The Stripe Mocker mocks the Stripe API in memory, to make it much easier
to test subscription flows. Currently it is more a POC to see if it
works well. It probably needs a bit more work to support more scenarios.
- Added new tests for the subscription stats endpoint for 3D secure +
free trial flows using the new Stripe Mocker
- Updated members admin api tests to use Stripe Mocker (+ added new test
for deleting members with Stripe cancellation)
- Some tests called mockStripe at the beginning, but that method did
nothing apart from disabling network (which is the default now), then
they mocked Stripe inside the tests file... so I've removed those
because those conflict with the new mocker that is enabled when calling
mockStripe. We'll need to port those over later.
2023-03-10 18:43:35 +01:00
..
__snapshots__ Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
create-stripe-checkout-session.test.js Added Stripe Mocker to make testing easier (#16396) 2023-03-10 18:43:35 +01:00
feedback.test.js Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
middleware.test.js Resubscribe member to default newsletters after removing from suppression list (#15974) 2022-12-13 13:31:50 +04:00
send-magic-link.test.js Added DomainEvents.allSettled utility method (#16075) 2023-01-04 14:30:35 +01:00
signin.test.js Added Stripe Mocker to make testing easier (#16396) 2023-03-10 18:43:35 +01:00
webhooks.test.js Added Stripe Mocker to make testing easier (#16396) 2023-03-10 18:43:35 +01:00
well-known.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00