Ghost/ghost/admin/tests
Kevin Ansfield fc501add94 Fixed editor not loading in Admin acceptance tests
closes https://linear.app/tryghost/issue/PLG-176

The editor files were previously stubbed for testing because we didn't have a way to load the externally-hosted files. This made testing slow and difficult because the only way to test the Admin integration was via Ghost's e2e browser tests.

- unstubbed the editor globals so `fetchKoenigLexical()` actually tries to import the external assets
- updated `ember-cli-build` to copy the Koenig UMD file over to the assets directory in development/test builds
- updated `environment.js` to set the required filename for the default asset import to successfully hit the test environment hosted files
- updated lexical editor acceptance tests to demonstrate the editor loads successfully for new and existing posts
2024-08-21 11:49:05 +01:00
..
acceptance Fixed editor not loading in Admin acceptance tests 2024-08-21 11:49:05 +01:00
helpers Migrated staff user screen to Ember Octane patterns (#15532) 2022-10-05 12:05:31 +01:00
integration Cleaned up internalLinking labs flag 2024-08-12 13:08:29 +01:00
unit 🐛 Fixed editor unsaved changes modal showing too often (#20787) 2024-08-19 18:03:13 +00:00
.eslintrc.js Update dependency eslint to v7 (#1566) 2020-05-17 22:53:37 +01: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