Unverified Commit a589650c authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #878 from Zaccc123/master

set autoCompile to false by default
parents 909e36f0 b340c72d
...@@ -62,7 +62,7 @@ function compileTab (container, appAPI, appEvents, opts) { ...@@ -62,7 +62,7 @@ function compileTab (container, appAPI, appEvents, opts) {
// ----------------- autoCompile ----------------- // ----------------- autoCompile -----------------
var autoCompileInput = compileContainer.querySelector('#autoCompile') var autoCompileInput = compileContainer.querySelector('#autoCompile')
var autoCompile = true var autoCompile = false
if (appAPI.config.exists('autoCompile')) { if (appAPI.config.exists('autoCompile')) {
autoCompile = appAPI.config.get('autoCompile') autoCompile = appAPI.config.get('autoCompile')
} }
......
...@@ -3,5 +3,9 @@ module.exports = function (browser, callback) { ...@@ -3,5 +3,9 @@ module.exports = function (browser, callback) {
.url('http://127.0.0.1:8080/#version=builtin') .url('http://127.0.0.1:8080/#version=builtin')
.injectScript('test-browser/helpers/applytestmode.js', function () { .injectScript('test-browser/helpers/applytestmode.js', function () {
browser.resizeWindow(2560, 1440, callback) browser.resizeWindow(2560, 1440, callback)
.click('#autoCompile')
.perform(function () {
callback()
})
}) })
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment