Ghost/ghost/admin/tests/integration/services
Kevin Ansfield e7c3b1b0e3 🐛 Fixed Code Injection input fields not being clickable
no issue
- lazy loaded scripts such as the CodeMirror asset used on the Code Injection screen could throw errors such as `TypeError: Cannot set property 'modeOption' of undefined`
- this was caused by "loading" promise returned from the `lazyLoader` service returning as soon as the network request finished which can be before the loaded script has been parsed and run meaning any processing occurring after the promise returns could be depending on unloaded code
- switched the lazyLoader service's loading mechanism from an ajax fetch to insertion of a `<script>` tag which can have `load` event attached which _will_ return after parsing/loading has completed
2019-02-11 21:08:15 +00:00
..
ajax-test.js Use Admin API v2 with session auth (#1046) 2018-10-05 19:46:33 +01:00
config-test.js Use Admin API v2 with session auth (#1046) 2018-10-05 19:46:33 +01:00
feature-test.js Migrate to latest ember, ember-mocha and modern ember testing (#1044) 2019-01-02 09:58:55 +00:00
lazy-loader-test.js 🐛 Fixed Code Injection input fields not being clickable 2019-02-11 21:08:15 +00:00
slug-generator-test.js Use Admin API v2 with session auth (#1046) 2018-10-05 19:46:33 +01:00
store-test.js Use Admin API v2 with session auth (#1046) 2018-10-05 19:46:33 +01:00