Ghost/test/utils
Hannah Wolfe 2ff6fdfab8
Fixed broken "mock express" style e2e tests
- done a fastest-possible overhaul on this style of tests to try to get them to work independently again

This is a pattern that was introduced a while ago to try to speed up our e2e tests and I'm not sure if it's staying or going
It uses a minimal frontend-only version of the boot process and a custom-built express testing tool
However it's really old and out of date because of the boot refactor and several changes since
This highlights the key problem with it - it doesn't rely on any of our "core" boot process, it makes it up, and therefore how reliable are these tests?
Ideally we need to get these tests working with the real boot process in some capacity
We would then need to make sure we have all the tests in e2e-frontend written in this style
2021-10-20 13:18:33 +01:00
..
fixtures Added API tests for custom theme settings (#13519) 2021-10-08 16:18:49 +01:00
mocks 🔥 Added support for Node 14 2020-10-23 12:57:02 +01:00
admin-utils.js Improved dev tooling (#13118) 2021-07-05 20:02:22 +01:00
api.js Extracted promise libs and history into @tryghost/promise 2020-08-11 18:44:21 +01:00
assertions.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
configUtils.js Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
db-utils.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
e2e-utils.js Moved URL service to backend 2021-10-19 07:29:09 +13:00
fixture-utils.js Added API tests for custom theme settings (#13519) 2021-10-08 16:18:49 +01:00
index.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
old-integration-utils.js Fixed broken "mock express" style e2e tests 2021-10-20 13:18:33 +01:00
overrides.js Improved dev tooling (#13118) 2021-07-05 20:02:22 +01:00
redirects.js Split test utilities out into separate files 2021-02-16 20:17:04 +00:00
url-service-utils.js Moved URL service to backend 2021-10-19 07:29:09 +13:00
urlUtils.js Swapped out usage of stubUrlUtils for configUtils 2021-06-21 11:07:30 +01:00