test(e2e): update chrome flags (#4027)
This commit is contained in:
parent
12c388eff3
commit
706141d3bb
@ -178,15 +178,7 @@ module.exports = async (on, config) => {
|
||||
|
||||
on('before:browser:launch', (browser = {}, launchOptions) => {
|
||||
if (browser.name === 'chrome') {
|
||||
// to allows usage of a mock proxy
|
||||
launchOptions.args.push('--ignore-certificate-errors');
|
||||
launchOptions.args.push('-–disable-gpu');
|
||||
if (browser.isHeaded) {
|
||||
launchOptions.args.push('--window-size=1200,1200');
|
||||
} else {
|
||||
launchOptions.args.push('--window-size=1200,1077');
|
||||
}
|
||||
|
||||
launchOptions.args.push('--disable-dev-shm-usage');
|
||||
return launchOptions;
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user