Ghost/ghost/core/test
Steve Larson d5077ac1bf
Cleared member count cache on manual member add/delete (#19623)
refs https://linear.app/tryghost/issue/ENG-599
- member count is based on the cache which only updates ~every minute
- forced cache clear on manual member add/delete (not import)
- tests were failing based on the assumption that a new site that adds a
member has a nonzero member count, although the cache did not reflect
this quickly enough for the test to pass

Previously on a new site if you tried to publish a newsletter, it would
require at least one member. If you quickly added a member and tried to
send a newsletter, it would stop you saying you need at least one
member, requiring a browser refresh. This was a bug that is resolved
with this changes, as well as odd behaviour to try to write tests
around.
2024-01-30 15:08:27 -06:00
..
e2e-api Improved sending email addresses for self-hosters (#19617) 2024-01-30 11:21:08 +01:00
e2e-browser Cleared member count cache on manual member add/delete (#19623) 2024-01-30 15:08:27 -06:00
e2e-frontend 🐛 Fixed broken access to preview of scheduled email-only posts (#19539) 2024-01-22 14:20:50 +00:00
e2e-server Added cache config to stats endpoints (#19481) 2024-01-18 15:26:49 +01:00
e2e-webhooks
integration Fixed reply-to address to stay the same after dmarc changes (#19542) 2024-01-23 16:22:40 +01:00
regression Improved sending email addresses for self-hosters (#19617) 2024-01-30 11:21:08 +01:00
unit Removed DomainEventsAnalytics 2024-01-30 13:58:22 -04:00
utils
.eslintignore
.eslintrc.js