mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
Add flag to webdriverio options (#5035)
* Add flag to webdriverio options * update indentation of code
This commit is contained in:
@@ -29,7 +29,14 @@ async function runMochaTestsInBrowser() {
|
||||
// Run in headless mode on Github Actions.
|
||||
if (process.env.CI) {
|
||||
options.capabilities['goog:chromeOptions'] = {
|
||||
args: ['--headless', '--no-sandbox', '--disable-dev-shm-usage']
|
||||
args: [
|
||||
'--headless', '--no-sandbox', '--disable-dev-shm-usage',
|
||||
'--allow-file-access-from-files',
|
||||
]
|
||||
};
|
||||
} else {
|
||||
options.capabilities['goog:chromeOptions'] = {
|
||||
args: ['--allow-file-access-from-files']
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user