0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/test
Hannah Wolfe 0ab2f36c22
Added settingsCache handling to e2e-framework
refs: https://github.com/Ghost/Ghost/commit/b5ee17b25

- When moving the site tests into e2e-api they broke because they were getting the changed settings value from the settings test
- The solution is to ensure the settingsCache is reset between tests, which is what this commit does
- This commit also renames the shutdown method to reset, because this is not a permanent operation
- It also renames the resetDb method to resetData, because the concept is we want the internal data to be reset, not just the DB
2022-02-11 16:24:24 +00:00
..
e2e-api Moved site.test.js from regression to e2e-api 2022-02-11 16:24:00 +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 Moved site.test.js from regression to e2e-api 2022-02-11 16:24:00 +00:00
unit Added unit tests for content gating post access 2022-02-11 14:26:04 +05:30
utils Added settingsCache handling to e2e-framework 2022-02-11 16:24:24 +00:00
.eslintignore Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
.eslintrc.js
.jshintrc