Merge pull request #878 from Zaccc123/master

set autoCompile to false by default
pull/3094/head
yann300 7 years ago committed by GitHub
commit 97d8b2df44
  1. 2
      src/app/tabs/compile-tab.js
  2. 4
      test-browser/helpers/init.js

@ -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) {
.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()
})
}) })
} }

Loading…
Cancel
Save