From 40893f769fe3225b0c4595865df649d60896212b Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 26 Sep 2017 15:22:58 +0200 Subject: [PATCH] fix test --- test-browser/helpers/applytestmode.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test-browser/helpers/applytestmode.js b/test-browser/helpers/applytestmode.js index 89366fd7d5..c97c4b7ce1 100644 --- a/test-browser/helpers/applytestmode.js +++ b/test-browser/helpers/applytestmode.js @@ -3,5 +3,11 @@ * */ console.log('applying test mode') -document.getElementById('input').editor.setBehavioursEnabled(false) // disable bracket auto-match (i.e. automatic injection of closing brackets and other things), so we can enter raw source code. +var editor = document.getElementById('input').editor +editor.setBehavioursEnabled(false) // disable bracket auto-match (i.e. automatic injection of closing brackets and other things), so we can enter raw source code. +editor.setOptions({ + enableBasicAutocompletion: false, + enableSnippets: false, + enableLiveAutocompletion: false +}) console.log('test mode applied')