0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/test/api-acceptance/admin
Hannah Wolfe 0f42bbeac3
Moved acceptance test utils into own file
- starting and stopping Ghost is part of our rather unloved acceptance test framework
- moving them into their own file to make the different pieces clearer and also to start to make improvements
- first improvement had to happen as an aside - exposing the existingData property via a function and making the API clearer
- this was a weird thing set on module.exports, very hidden and hard to follow
- Note: stopGhost is only used once in the regression/modles/model_posts_spec.js file to make the test run fast enough...
- These tests are effectively "DB integration" tests e.g. non-unit tests because they do use the DB, they need their own framework
2021-06-01 13:17:45 +01:00
..
actions_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
actions_spec_v3.js Added acceptance tests on the v3 api version. 2021-01-22 17:49:06 +01:00
config_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
db_spec.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
email_preview_spec.js Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
emails_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
images_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
integrations_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
invites_spec.js Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
key_authentication_spec.js Blocked requests from integrations when integration limit is in place 2021-04-10 00:45:26 +12:00
key_authentication_spec_v3.js Added acceptance tests on the v3 api version. 2021-01-22 17:49:06 +01:00
labels_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
labels_spec_v3.js Added acceptance tests on the v3 api version. 2021-01-22 17:49:06 +01:00
mail_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
members_spec.js Replaced members 'comped' status with 'paid' 2021-05-19 18:49:18 +01:00
notifications_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
oembed_spec.js Changed URL protocol in oembed acceptance tests 2020-12-03 21:46:01 +00:00
pages_spec.js Updated fixtures for Ghost v4.0 2021-03-10 17:37:16 +00:00
posts_spec.js Added "emails" limit check when (re)sending a newsletter 2021-05-03 17:51:33 +04:00
roles_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
settings_spec.js Fixed __GHOST_URL__ appearing in settings values after edit (#12738) 2021-03-08 18:41:43 +00:00
slugs_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
snippets_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
tags_spec.js Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
themes_spec.js 🐛 Fixed @price template data to work with price helper (#12764) 2021-03-18 16:13:10 +00:00
users_spec.js Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
utils.js Removed comped flag from canary Members Admin API 2021-05-19 18:49:18 +01:00
webhooks_spec.js Added a better error when a user try to create an orphaned webhook 2021-03-23 17:15:21 +01:00