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
admin-utils.js
api.js Fixed handing test suite 2021-12-09 13:52:02 +04:00
assertions.js
configUtils.js
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
overrides.js
redirects.js
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
urlUtils.js Updated test UrlUtils to use canary by default 2022-01-21 15:12:27 +00:00