Ghost/test/utils
Hannah Wolfe 3e7039c47d
Fixed theme storage getting confused between tests
- When starting ghost for e2e tests we create a content folder in the os tmp dir
- This means that the folder can change between suites as ghost is started and restarted
- For the most part this is fine, but theme storage caches the path to config (which makes sense, it's not meant to change whilst Ghost is in-memory)
- This is a quick-n-dirty fix that just makes it possible to update that path in the tests, so we know it's in sync
- Ideally we'd not cache the path, use a function to fetch it etc, or fully reset the theme storage layer, but this is the fix I have working today
     and so it's going in to unblock things for now
2022-02-11 10:37:37 +00:00
..
fixtures Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
mocks Colocated mock-express style utilities 2021-10-20 13:18:35 +01:00
admin-utils.js Improved dev tooling (#13118) 2021-07-05 20:02:22 +01:00
api.js Fixed handing test suite 2021-12-09 13:52:02 +04: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 Restored quick database reset method via table truncation 2022-02-07 21:27:10 +01:00
e2e-framework-mock-manager.js Added mockLabsDisabled to e2e framework 2022-02-10 12:10:31 +00:00
e2e-framework.js Fixed theme storage getting confused between tests 2022-02-11 10:37:37 +00:00
e2e-utils.js Fixed theme storage getting confused between tests 2022-02-11 10:37:37 +00:00
fixture-utils.js Cleaned up reference tests 2022-02-08 20:12:10 +00:00
index.js Added extra debug to test utilities 2021-11-19 10:47:21 +00:00
overrides.js Switched new e2e-framework to use our own snapshot lib (#14137) 2022-02-08 14:33:19 +00:00
redirects.js Split test utilities out into separate files 2021-02-16 20:17:04 +00:00
test-agent.js Updated members regression tests to use e2e framework (#14130) 2022-02-07 17:15:55 +00:00
url-service-utils.js Removed unused parameter from isFinished method 2021-11-24 05:32:20 +13:00
urlUtils.js Updated test UrlUtils to use canary by default 2022-01-21 15:12:27 +00:00