Ghost/ghost/core/test/e2e-api/members
Simon Backx b6519e0f1f
Removed usage of unquoted ids in filter strings (#19070)
fixes GRO-34
fixes GRO-33

This is a revision of a previous commit, that broke the browser tests
because changes in the data generator (requiring bookshelf had side
effects).

This adds a new way to run all tests with enforced numeric ObjectIDs.
These numeric ids cause issues if they are used withing NQL filters. So
they surface tiny bugs in our codebase.

You can run tests using this option via:
NUMERIC_IDS=1 yarn test:e2e

Removed some defensive logic that could be explained by this discovered
issue.
2023-11-21 09:45:36 +01:00
..
__snapshots__ 🔒 Added support for logging out members on all devices (#18935) 2023-11-15 17:10:28 +01:00
announcement.test.js Moved announcement bar settings to Frontend Members API 2023-04-27 14:01:36 +02:00
create-stripe-checkout-session.test.js Added Stripe Mocker to make testing easier (#16396) 2023-03-10 18:43:35 +01:00
donation-checkout-session.test.js 🔒 Added support for logging out members on all devices (#18935) 2023-11-15 17:10:28 +01:00
feedback.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
middleware.test.js 🐛 Fixed unsubscribe button requiring manual action + wrong confirmation 2023-11-08 15:05:47 +01:00
recommendations.test.js Removed usage of unquoted ids in filter strings (#19070) 2023-11-21 09:45:36 +01:00
send-magic-link.test.js Added DomainEvents.allSettled utility method (#16075) 2023-01-04 14:30:35 +01:00
signin.test.js 🐛 Fixed showing recommendations on custom welcome pages (#18864) 2023-11-03 15:02:46 +00:00
site.test.js Disabled one-click subscribe when Portal checkbox is required (#18252) 2023-09-20 15:35:10 +00:00
webhooks.test.js Revert "Added support for importing Stripe Coupons as Offers (#17415)" (#17915) 2023-09-01 09:49:29 +02:00
well-known.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00