Ghost/ghost/core/test/e2e-server
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 Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
jobs Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
services Made new recommendation email more flexible (#18915) 2023-11-08 16:44:48 +00:00
1-options-requests.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
admin.test.js Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
click-tracking.test.js Removed usage of unquoted ids in filter strings (#19070) 2023-11-21 09:45:36 +01:00
well-known.test.js Removed unnecessary mockMail call 2023-04-07 14:34:57 +02:00