]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/e2e/local-protractor.conf.js
Merge branch 'release/3.2.0' 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
84c7cde6 10 directConnect: true,
9e3e2481 11
3473e210
C
12 multiCapabilities: [
13 {
14 'browserName': 'firefox',
15 'name': 'Firefox',
16 'moz:firefoxOptions': {
17 binary: '/usr/bin/firefox-developer-edition',
18 // args: ["-headless"],
19 log: {
20 "level": "info" // default is "info"
21 }
9e3e2481 22 }
3473e210
C
23 },
24 {
25 'browserName': 'firefox',
26 'name': 'Firefox ESR',
27 'moz:firefoxOptions': {
28 binary: '/usr/bin/firefox-esr',
29 // args: ["-headless"],
30 log: {
31 "level": "info" // default is "info"
32 }
33 }
34 },
35 {
36 'browserName': 'chrome',
37 'name': 'Chromium'
9e3e2481 38 }
3473e210 39 ],
9e3e2481 40
f74832ce 41 maxSessions: 1,
84c7cde6 42 baseUrl: 'http://localhost:3000/',
9e3e2481
RK
43 framework: 'jasmine',
44 jasmineNodeOpts: {
45 showColors: true,
46 defaultTimeoutInterval: 45000,
47 print: function() {}
48 },
49
50 onPrepare() {
51 require('ts-node').register({
52 project: require('path').join(__dirname, './tsconfig.e2e.json')
53 })
54 jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }))
55 }
56}