mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
26 lines
814 B
JavaScript
26 lines
814 B
JavaScript
// Protractor configuration file, see link for more information
|
|
// https://github.com/angular/protractor/blob/master/lib/config.ts
|
|
exports.config = {
|
|
specs: ['../built/e2e/*.e2e-spec.js'],
|
|
chromeDriver: process.env.CHROMEDRIVER_BIN,
|
|
capabilities: {
|
|
browserName: 'chrome',
|
|
chromeOptions: {
|
|
binary: process.env.CHROME_BIN,
|
|
// See /integration/README.md#browser-tests for more info on these args
|
|
args: [
|
|
'--no-sandbox',
|
|
'--headless',
|
|
'--disable-gpu',
|
|
'--disable-dev-shm-usage',
|
|
'--hide-scrollbars',
|
|
'--mute-audio',
|
|
],
|
|
},
|
|
},
|
|
directConnect: true,
|
|
// Port comes from lite-server config `/e2e/browser.config.json` `"port": 4205`
|
|
baseUrl: 'http://localhost:4205/',
|
|
framework: 'jasmine',
|
|
useAllAngular2AppRoots: true,
|
|
};
|