Turn off display after testing
This commit is contained in:
parent
81de5d861c
commit
f81cfb178b
1 changed files with 4 additions and 0 deletions
|
@ -77,5 +77,9 @@ run('npm', ['install'], () => {
|
|||
}).nThen((waitFor) => {
|
||||
run('npm', ['run', 'fresh'], ()=>{});
|
||||
run('node', ['./TestSelenium.js'], waitFor());
|
||||
}).nThen((waitFor) => {
|
||||
if (process.platform === 'darwin') {
|
||||
run('bash', ['-c', 'pmset displaysleepnow'], waitFor());
|
||||
}
|
||||
}).nThen(killAll);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue