Ghost/test/utils
Hannah Wolfe 2ea7d5432b
Updated casper test fixture to latest version
closes: https://github.com/TryGhost/Toolbox/issues/193

- Our Casper fixture was several years out of date.
- I'd already updated the ghost-api to point to the latest API version, which was the main difference
- This makes sure the full fixture is up to date and correct, and therefore that we're truly testing if Ghost right now works
- It also adds instructions for how to update it in future

GOTCHA: the mock-express-style tests are failing if the API difference between test-theme and casper are different
- I've tried to look into why this is - it's something to do with the overridden route settings not working properly if the API version changes
- Given that we may not keep this style of testing AND we are definitely not keeping API versions, I'm ignoreing this for now
- To get around it, I'm setting both themes to be v4 API, so that Casper is exactly as in main
2022-01-25 14:10:53 +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 Destroyed connection before restoring DB file 2021-12-07 08:23:51 +00:00
e2e-framework-mock-utils.js Moved email stubbing logic into e2e-framework utils 2021-12-09 15:10:13 +04:00
e2e-framework.js Removed copy-pasta code form TestAgent 2021-12-13 13:13:17 +04:00
e2e-utils.js Revert "Improve the performance of prepareContentFolder" 2022-01-04 11:34:42 +00:00
fixture-utils.js Fixed error wording in fixture-utils 2021-12-07 11:12:10 +04:00
index.js Added extra debug to test utilities 2021-11-19 10:47:21 +00: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
snapshots.js Removed duplicate snapshot initialization code 2021-12-10 06:37:31 +13:00
test-agent.js Removed copy-pasta code form TestAgent 2021-12-13 13:13:17 +04: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