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
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
index.html
test-helper.js Fixed editor not loading in Admin acceptance tests 2024-08-21 11:49:05 +01:00