Reset by default LD_LIBRARY_PATH in xds-project.conf
[src/xds/xds-agent.git] / webapp / protractor.conf.js
1 // Protractor configuration file, see link for more information
2 // https://github.com/angular/protractor/blob/master/lib/config.ts
3
4 const { SpecReporter } = require('jasmine-spec-reporter');
5
6 exports.config = {
7   allScriptsTimeout: 11000,
8   specs: [
9     './e2e/**/*.e2e-spec.ts'
10   ],
11   capabilities: {
12     'browserName': 'chrome',
13     'chromeOptions': {
14       'args': ['show-fps-counter=true', '--no-sandbox']
15     }
16   },
17   directConnect: true,
18   baseUrl: 'http://localhost:4200/',
19   framework: 'jasmine',
20   jasmineNodeOpts: {
21     showColors: true,
22     defaultTimeoutInterval: 30000,
23     print: function() {}
24   },
25   onPrepare() {
26     require('ts-node').register({
27       project: 'e2e/tsconfig.e2e.json'
28     });
29
30     jasmine.getEnv().addReporter(new SpecReporter({ acspec: { displayStacktrace: true } }));
31   }
32 };