0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/test/e2e-frontend
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
..
advanced_url_config.test.js Switched AMP to be 'off' by default in all new Ghost instances (#13907) 2022-01-14 18:55:48 +02:00
custom_routes.test.js Removed unused sinon referece 2021-11-30 20:14:51 +13:00
default_routes.test.js Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
email_routes.test.js
members.test.js Renamed & cleaned up price data test theme fixture 2022-01-24 09:55:21 +00:00
preview_routes.test.js