Ghost/test/regression
Kevin Ansfield 2c96df42ac
Added paywall card to mark end of free content preview (#12663)
closes https://github.com/TryGhost/Team/issues/466

- upgraded kg-default-cards to include paywall card
- extracted `htmlToPlaintext` from post model to shared util for re-use
- updated post-gating to set html+plaintext to the free preview if a paywall card has been used
  - re-generates plaintext from the truncated html using `htmlToPlaintext` util
- display free content in the `{{content}}` helper via the default CTA template
2021-02-17 23:00:26 +00:00
..
api Added paywall card to mark end of free content preview (#12663) 2021-02-17 23:00:26 +00:00
exporter Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
importer Hardcoded labs to always return members:true 2021-02-17 19:55:16 +13:00
migrations Added snippets permissions migration and fixtures (#12283) 2020-10-16 12:53:09 +01:00
models Updated Admin API and Mega to use status flag (#12579) 2021-02-02 16:12:51 +00:00
settings Added routes_hash setting (#12171) 2020-09-07 21:54:55 +12:00
site Split urlServiceUtils from testUtils & unified 2021-02-17 17:36:27 +00:00
update-check Fixed linting error 2021-01-14 18:39:27 +13:00
README.md Updated acceptance&regression test suite readmes 2021-01-22 16:42:02 +13:00

Regression Tests

These tests should ensure that we don't break Ghost for all available APIs.

The goal is that most of these packages use Ghost's API's to test behaviours, otherwise transform the tests into unit tests.