0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/utils
Kevin Ansfield 25c0b75426 Added comments API tests
refs https://github.com/TryGhost/Team/issues/1664

Note: we put it in the members-comments folder because some issue with test ordering
- refs https://ghost.slack.com/archives/C02G9E68C/p1657538586658649?thread_ts=1657522575.865029&cid=C02G9E68C
- There is something wrong with the url service reset when running multiple tests
- Currently we are doing a soft reset, this needs investigating
- Changing the order so that the comments API tests are executed after the content API tests, fixes the issue too.

Co-authored-by: Simon Backx <simon@ghost.org>
2022-07-12 10:24:02 +02:00
..
fixtures Added comment CRUD+Moderate permissions 2022-07-08 15:46:11 +02:00
mocks Colocated mock-express style utilities 2021-10-20 13:18:35 +01:00
admin-api-test-agent.js Refactored Admin API test agent to use async/await 2022-06-01 17:48:08 +08:00
admin-utils.js Renamed "client" references to "admin" 2022-05-17 09:05:44 +01:00
api.js Fixed handing test suite 2021-12-09 13:52:02 +04:00
assertions.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
configUtils.js Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
content-api-test-agent.js Added ContentAPITestAgent 2022-02-23 17:08:56 +07:00
db-utils.js Cleaned newsletter e2e tests, improved framework 2022-05-06 12:15:12 +01:00
e2e-framework-mock-manager.js Extracted webhook mock receiver into a package 2022-06-03 11:57:39 +08:00
e2e-framework.js Added webhook fixute utils 2022-06-03 11:57:39 +08:00
e2e-utils.js Renamed settings index.js to settings-service.js 2022-05-10 20:55:31 +01:00
fixture-utils.js Added webhook fixute utils 2022-06-03 11:57:39 +08:00
ghost-api-test-agent.js Added root Ghost server/API test agent 2022-05-20 13:17:00 +08:00
index.js Removed support for single "author" shorthand in fixtures 2022-05-09 20:43:19 +08:00
members-api-test-agent.js Added comments API tests 2022-07-12 10:24:02 +02:00
overrides.js Revert "Added global setup to reset DB before test run" 2022-03-16 21:10:49 +00:00
redirects.js Split test utilities out into separate files 2021-02-16 20:17:04 +00:00
test-agent.js Removed @tryghost/jest-snapshot dependency 2022-02-22 09:41:58 +07:00
url-service-utils.js Removed unused parameter from isFinished method 2021-11-24 05:32:20 +13:00
urlUtils.js Update dependency @tryghost/url-utils to v3 (#14705) 2022-05-05 16:10:18 +01:00