0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/test
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
..
e2e-api Added mockLabsDisabled to e2e framework 2022-02-10 12:10:31 +00:00
e2e-frontend Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
e2e-server Fixed ETag header for admin templates not changing between versions (#13680) 2021-10-22 14:25:58 +01:00
integration Updated tests to handle visibility tier 2022-02-01 11:13:51 +05:30
regression Updated all members tests to use mockManager 2022-02-10 12:21:05 +00:00
unit Added unit tests for content gating post access 2022-02-11 14:26:04 +05:30
utils Fixed theme storage getting confused between tests 2022-02-11 10:37:37 +00:00
.eslintignore Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc