Turn off display after testing
This commit is contained in:
parent
81de5d861c
commit
f81cfb178b
@ -77,5 +77,9 @@ run('npm', ['install'], () => {
|
|||||||
}).nThen((waitFor) => {
|
}).nThen((waitFor) => {
|
||||||
run('npm', ['run', 'fresh'], ()=>{});
|
run('npm', ['run', 'fresh'], ()=>{});
|
||||||
run('node', ['./TestSelenium.js'], waitFor());
|
run('node', ['./TestSelenium.js'], waitFor());
|
||||||
|
}).nThen((waitFor) => {
|
||||||
|
if (process.platform === 'darwin') {
|
||||||
|
run('bash', ['-c', 'pmset displaysleepnow'], waitFor());
|
||||||
|
}
|
||||||
}).nThen(killAll);
|
}).nThen(killAll);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user