0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/test/regression
Kevin Ansfield f49f7699aa
Enabled all labs flags when testing (#13036)
no issue

Shows impact of new code behind labs flags through the existing acceptance/regression tests. Allows for existing tests to be updated to match new behaviour rather than requiring separate tests where individual flags are enabled. Should result in minimal test updating once code reaches GA.

- adds a forced `'labs:enabled'` fixture op that edits the `labs` setting to enable all flags then restarts the settings service to pick up the new setting
- modifies labs service to not remove ALPHA_FEATURE labs settings when running in a testing environment
2021-06-10 12:54:34 +01:00
..
api Enabled all labs flags when testing (#13036) 2021-06-10 12:54:34 +01:00
exporter Added stripe_products and stripe_prices tables (#12858) 2021-04-08 20:41:00 +05:30
importer Added labs setting import validation 2021-06-08 02:18:17 +12:00
migrations Fixed editors not being able to read labels when assigning member segments (#12934) 2021-05-07 10:51:44 +01:00
models Fixed Stripe customer model tests 2021-05-24 11:28:15 +01:00
settings
site Moved useful subdir and https tests to acceptance 2021-05-27 14:49:28 +01: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.