]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/e2e/protractor.conf.js
932eaed51450057119173c846bd7017b4a103696
[github/Chocobozzz/PeerTube.git] / client / e2e / 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 './src/**/*.e2e-spec.ts'
10 ],
11 multiCapabilities: [
12 {
13 'browserName': 'firefox',
14 'moz:firefoxOptions': {
15 binary: 'firefox-developer'
16 }
17 }
18 ],
19 maxSessions: 1,
20 directConnect: true,
21 baseUrl: 'http://localhost:4200/',
22 framework: 'jasmine',
23 jasmineNodeOpts: {
24 showColors: true,
25 defaultTimeoutInterval: 30000,
26 print: function () {}
27 },
28
29 onPrepare () {
30 require('ts-node').register({
31 project: require('path').join(__dirname, './tsconfig.e2e.json')
32 })
33 jasmine.getEnv().addReporter(new SpecReporter({spec: {displayStacktrace: true}}))
34 }
35 }