0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/test
Naz fa373e0956 Added ContentAPITestAgent
refs https://github.com/TryGhost/Toolbox/issues/215

- The ContentAPI needs it's own test agent, so we can write e2e tests.
- The main method mostly to be used by the test suites is "authenticate" - it add necessary authentication keys to the request. The agent is not authenticated by default because there are suites that need to test the "non authenticated" requests. Also, there's a need to have the default API key inserted from fixtures level before authenticating (it's not strictly necessary because the key is not dynamic, but I think coupling this point would be a bad move)
2022-02-23 17:08:56 +07:00
..
e2e-api Added the last_seen_at field to the member API answers 2022-02-22 19:45:55 +01:00
e2e-browser Added note about installing the E2E browsers 2022-02-22 10:20:40 +01:00
e2e-frontend 🐛 Fixed welcome pages not working for "subscribe" links (#14176) 2022-02-20 16:02:42 +02: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 Removed the duplicated members regression tests 2022-02-17 15:44:48 +01:00
unit Added test-specific default-settings.json configuration 2022-02-21 20:06:20 +13:00
utils Added ContentAPITestAgent 2022-02-23 17:08:56 +07: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 Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00