Ghost/test/utils/fixtures
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
..
admin-views Fixed ETag header for admin templates not changing between versions (#13680) 2021-10-22 14:25:58 +01:00
config Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
csv Added Members bulk actions endpoint 2021-08-23 16:38:21 +02:00
data 🐛 Fixed redirects "to" query params forwarding (#12333) 2021-01-05 14:11:06 +13:00
export Fixed typo "in" default About page. (#13271) 2021-10-04 12:18:15 +01:00
filter-param Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
images Added webp image support (#13105) 2021-07-02 09:37:54 +01:00
import Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
media Added audio upload support to Media API 2021-11-09 16:39:33 +04:00
settings Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
themes Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
urls Updated urls/resources cache fixtures 2021-11-22 21:56:32 +13:00
cache-rules.js Moved cacheRules from testUtils into fixtures 2021-02-17 17:55:38 +00:00
context.js Split test utilities out into separate files 2021-02-16 20:17:04 +00:00
data-generator.js Handled default product to use first paid product 2022-01-17 22:59:34 +05:30
fixtures.json Added active column to products table (#14016) 2022-01-20 15:50:18 +02:00
test.hbs Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00