]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/e2e/local-protractor.conf.js
Merge branch 'feature/webtorrent-disabling' into develop
[github/Chocobozzz/PeerTube.git] / client / e2e / local-protractor.conf.js
CommitLineData
9e3e2481
RK
1// Protractor configuration file, see link for more information
2// https://github.com/angular/protractor/blob/master/lib/config.ts
3
4const {SpecReporter} = require('jasmine-spec-reporter')
5
6exports.config = {
7 allScriptsTimeout: 25000,
8 specs: ['./src/**/*.e2e-spec.ts'],
9
10 seleniumAddress: 'http://localhost:4444/wd/hub',
11
12 capabilities: {
13 'browserName': 'firefox',
14 'moz:firefoxOptions': {
15 'args': ["-headless"],
16 "log": {
17 "level": "info" // default is "info"
18 }
19 }
20 },
21
22 // maxSessions: 1,
23 baseUrl: 'http://localhost:3333/',
24 framework: 'jasmine',
25 jasmineNodeOpts: {
26 showColors: true,
27 defaultTimeoutInterval: 45000,
28 print: function() {}
29 },
30
31 onPrepare() {
32 require('ts-node').register({
33 project: require('path').join(__dirname, './tsconfig.e2e.json')
34 })
35 jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }))
36 }
37}