test(bazel): Remove --no-sandbox for protractor tests (#25362)
Since we no longer need this flag to run web tests inside a docker container, this reverts https://github.com/angular/angular/pull/24906 PR Close #25362
This commit is contained in:
parent
31f0f5b3c3
commit
f053a3f274
|
@ -107,11 +107,6 @@ if (process.env['WEB_TEST_METADATA']) {
|
|||
if (headless) {
|
||||
args.push('--headless');
|
||||
args.push('--disable-gpu');
|
||||
const isRoot = process.getuid && process.getuid() == 0;
|
||||
if (isRoot) {
|
||||
// Specify --no-sandbox if it is started by root.
|
||||
args.push('--no-sandbox');
|
||||
}
|
||||
}
|
||||
setConf(conf, 'directConnect', true, 'is set to true for chrome');
|
||||
setConf(
|
||||
|
|
Loading…
Reference in New Issue