mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Headless option for ui test (#1784)
This commit is contained in:
committed by
Nick O'Leary
parent
1bf4addf63
commit
1a544b3b82
@@ -62,10 +62,11 @@ exports.config = {
|
||||
//
|
||||
browserName: 'chrome',
|
||||
chromeOptions: {
|
||||
// Runs tests without opening a broser.
|
||||
args: ['--headless', '--disable-gpu', 'window-size=1920,1080'],
|
||||
// Runs tests with opening a broser.
|
||||
// args: ['--disable-gpu'],
|
||||
args: process.env.NODE_RED_NON_HEADLESS
|
||||
// Runs tests with opening a browser.
|
||||
? ['--disable-gpu']
|
||||
// Runs tests without opening a browser.
|
||||
: ['--headless', '--disable-gpu', 'window-size=1920,1080']
|
||||
},
|
||||
}],
|
||||
//
|
||||
|
Reference in New Issue
Block a user