Ghost/ghost/admin/tests/acceptance
Kevin Ansfield 4c5144cb61 🐛 Fixed close button on "unsaved changes" modal not always behaving like "Stay" button
no issue

The close button in the unsaved changes modal used the `@close` action directly compared to the "Stay" button which used `(fn @close false)`. The close button version without explicit arguments resulted in the first argument being a `PointerEvent` instance which if checked as a modal return value as `if (shouldClose)` would evaluate as truthy therefore matching the "Leave" behaviour instead of the "Stay" behaviour.

- changed modal to explicitly call `(fn @close false)` when the close button is clicked
- updated design settings route to have an explicit `shouldLeave === true` check so default behaviour is always "Stay"
2022-04-14 12:39:10 +01:00
..
members 🐛 Fixed error on saving a paid member (#2312) 2022-03-22 21:58:21 +05:30
settings 🐛 Fixed close button on "unsaved changes" modal not always behaving like "Stay" button 2022-04-14 12:39:10 +01:00
authentication-test.js 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
content-test.js Improved test output readability for custom views failures 2022-03-31 10:52:54 +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 Fixed linter error for unused variable in dashboard-test.js 2022-03-08 19:23:03 +00:00
editor-test.js 🐛 Fixed scheduled send-only post switching to publish+send when rescheduling 2022-03-31 17:11:06 +01:00
error-handling-test.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00
launch-flow-test.js Fixed unauthed access to launch wizard and updated test to use Owner user 2021-02-04 17:45:16 +00:00
members-activity-test.js Cleaned up membersActivityFeed labs flag (#2309) 2022-03-30 12:43:52 +01:00
members-test.js 🐛 Fixed slow loading and high memory usage of members list screen 2022-03-15 18:26:24 +00:00
offers-test.js Added non-Stripe members setting screen acceptance tests 2022-02-18 22:36:01 +00: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 Fixed test 2022-03-11 12:52:30 +00:00
signin-test.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00
signup-test.js 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
staff-test.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00