parent
0832642dd9
commit
4d6a2e4512
@ -0,0 +1,7 @@ |
||||
/** |
||||
* This script is injected by NightWatch just before starting test |
||||
* |
||||
*/ |
||||
console.log('applying test mode') |
||||
document.getElementById('input').editor.setBehavioursEnabled(false) |
||||
console.log('test mode applied') |
@ -0,0 +1,7 @@ |
||||
module.exports = function (browser, callback) { |
||||
browser |
||||
.url('http://127.0.0.1:8080/#version=builtin') |
||||
.injectScript('test-browser/helpers/applytestmode.js', function () { |
||||
callback() |
||||
}) |
||||
} |
Loading…
Reference in new issue