1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/tests
Kevin Ansfield fefc8358cb 🐛 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
..
acceptance Fixed signup acceptance tests sometimes failing 2019-02-11 13:52:51 +00:00
helpers Migrate to latest ember, ember-mocha and modern ember testing (#1044) 2019-01-02 09:58:55 +00:00
integration 🐛 Fixed Code Injection input fields not being clickable 2019-02-11 21:08:15 +00:00
unit Skipped tests that randomly fail on Travis 2019-02-11 11:43:23 +00:00
.eslintrc.js Migrate to latest ember, ember-mocha and modern ember testing (#1044) 2019-01-02 09:58:55 +00:00
index.html Remove ember application template wrapper 2018-05-01 10:57:20 +01:00
test-helper.js Registered test waiter for ember-raf-scheduler 2019-01-31 12:41:57 +00:00