Fix test cases for UI

This commit is contained in:
Kazuhito Yokoi
2019-12-02 12:43:13 +09:00
parent c1dae95f71
commit a364d4950d
15 changed files with 149 additions and 139 deletions

View File

@@ -64,9 +64,9 @@ exports.config = {
'goog:chromeOptions': {
args: process.env.NODE_RED_NON_HEADLESS
// Runs tests with opening a browser.
? ['--disable-gpu']
? ['--disable-gpu', '--no-sandbox']
// Runs tests without opening a browser.
: ['--headless', '--disable-gpu', 'window-size=1920,1080']
: ['--headless', '--disable-gpu', 'window-size=1920,1080', '--no-sandbox']
},
}],
//