Ghost/ghost/admin/tests/acceptance
Kevin Ansfield 3817f583fa 🐛 Fixed unexpected "unsaved changes" modal when deleting a member
closes https://github.com/TryGhost/Team/issues/2275

When deleting a member, after confirming deletion another "unsaved changes" modal popped up. From that point, if you clicked to stay you remained on the member screen with stale data (the member was still deleted) resulting in further errors when any attempt to make changes was made.

- prevented the unsaved changes check running for a deleted member because it would always return `true` in that case
- ensured the data setup for the unsaved changes check still occurs when a member is accessed directly via the URL
  - previously it was skipped because the data setup only occurred inside `fetchMemberTask` but that isn't called when the route already loaded the model via it's `model()` hook
2022-12-05 11:48:37 +00:00
..
editor Added regression test for publishing as editor when over member limit (#15518) 2022-10-03 12:05:58 +01:00
members Added new members filters and refactored filters (#15667) 2022-10-21 17:18:00 +02:00
settings Removed duplicate newsletter tracking settings (#15717) 2022-10-28 02:35:39 +05:30
authentication-test.js Switched editor re-authenticate modal to new modal pattern 2022-11-14 09:55:34 +00:00
content-test.js Fixed linter error 2022-10-31 12:12:58 +00: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 Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00
error-handling-test.js Refactored signin controller to Octane patterns 2022-11-01 14:12:23 +00:00
members-activity-test.js Cleaned up membersActivityFeed labs flag (#2309) 2022-03-30 12:43:52 +01:00
members-test.js 🐛 Fixed unexpected "unsaved changes" modal when deleting a member 2022-12-05 11:48:37 +00:00
offers-test.js 🐛 Fixed active state bug in sidebar nav (#15511) 2022-10-03 19:49:21 +01:00
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 Refactored signin controller to Octane patterns 2022-11-01 14:12:23 +00:00
signup-test.js Migrated signup screen to Octane patterns 2022-05-27 13:28:29 +01:00
staff-test.js Cleaned up GA Flags (#15762) 2022-11-18 16:09:25 +07:00