Ghost/ghost/admin/tests
Kevin Ansfield fd926193ce 🐛 Fixed unsaved changes modal showing when title has leading/trailing whitespace
closes https://linear.app/tryghost/issue/PLG-205

The server trims whitespace from the title when saving but our unsaved changes detection was comparing the raw title input field value meaning there would be a mismatch after publishing if the title field contained leading/trailing whitespace.

- updated title comparison to compare trimmed values
- moved and improved unsaved changes modal tests from publish-flow to unsaved-changes acceptance test file
  - added util for pasting content into the editor to test for content changes
2024-09-03 10:53:53 +01:00
..
acceptance 🐛 Fixed unsaved changes modal showing when title has leading/trailing whitespace 2024-09-03 10:53:53 +01:00
helpers Migrated staff user screen to Ember Octane patterns (#15532) 2022-10-05 12:05:31 +01:00
integration Fixed Admin tests 2024-09-03 10:46:25 +01:00
unit Added one-time payments under "payments" for filtering (#20807) 2024-08-22 10:26:46 +00:00
index.html Remove ember application template wrapper 2018-05-01 10:57:20 +01:00
test-helper.js Fixed editor not loading in Admin acceptance tests 2024-08-21 11:49:05 +01:00