diff --git a/ui/tests/integration/components/job-editor-test.js b/ui/tests/integration/components/job-editor-test.js index 4d318cd477e..36fe8f1cef0 100644 --- a/ui/tests/integration/components/job-editor-test.js +++ b/ui/tests/integration/components/job-editor-test.js @@ -105,7 +105,8 @@ module('Integration | Component | job-editor', function (hooks) { }; const planJob = async (spec) => { - await Editor.editor.fillIn(spec); + const cm = getCodeMirrorInstance(['data-test-editor']); + cm.setValue(spec); await Editor.plan(); };