angular/integration/ng_elements/e2e/protractor.config.js
Joey Perrott 894c1c5f10 refactor: apply prettier formatting to integration (#54653)
Apply prettier formatting to integration directories

PR Close #54653
2024-04-02 20:42:04 +00:00

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,
};