Ghost/ghost/admin/tests/acceptance
Kevin Ansfield e3db911108
🐛 Fixed confusing error state when publishing if member count is over hosting plan limit (#15473)
closes https://github.com/TryGhost/Team/issues/1885

- adds limit check for members to the `PublishOptions` class when it's constructed to set a `publishDisabledError` property if the limit check fails
  - if `publishOptions.publishDisabledCheck` is present, all publish options in the publish flow are disabled, the underlying error message is shown, and the continue button is removed to prevent filling in everything only to find at the end of the process that publishing fails
- added handling for a `HostLimitError` error from the API when confirming publishing so the proper underlying message is displayed instead of the confusing "Host limit error, cannot edit post" error
  - this is a backup measure for any instances where you're under the max members limit when starting the publish flow but are over the limit when you reach the end of the publish flow
2022-09-26 17:37:35 +01:00
..
editor 🐛 Fixed confusing error state when publishing if member count is over hosting plan limit (#15473) 2022-09-26 17:37:35 +01:00
members Cleaned up removed feature flags 2022-05-25 10:11:24 +02:00
settings Switched Unsplash integration unsaved changes modal to new modal pattern 2022-09-09 17:44:12 +01:00
authentication-test.js 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
content-test.js Fixed tests that compared .textContent instead of .innerText with inline SVGs 2022-09-01 10:01:30 +01:00
custom-post-templates-test.js Updated for breaking changes in ember-cli-mirage@1.0.0 2019-05-27 09:58:33 +01:00
dashboard-test.js Cleaned up removed feature flags 2022-05-25 10:11:24 +02:00
editor-test.js 🐛 Fixed Admin freeze when filtering long tag lists 2022-09-12 15:49:59 +01:00
error-handling-test.js Removed usage of old publish menu for contributors 2022-05-16 14:18:04 +01:00
members-activity-test.js Cleaned up membersActivityFeed labs flag (#2309) 2022-03-30 12:43:52 +01:00
members-test.js Improving the members page on mobile 2022-09-01 13:09:23 +01:00
offers-test.js Renamed products to tiers (#2372) 2022-05-11 22:41:54 +05:30
password-reset-test.js Updated for breaking changes in ember-cli-mirage@1.0.0 2019-05-27 09:58:33 +01:00
setup-test.js Cleaned up improvedOnboarding labs flag 2022-05-18 10:13:06 +01:00
signin-test.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00
signup-test.js Migrated signup screen to Octane patterns 2022-05-27 13:28:29 +01:00
staff-test.js Switched User settings unsaved changes modal to new modal pattern 2022-09-09 17:44:12 +01:00