aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/protractor.conf.js
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-16 19:59:21 +0200
committerChocobozzz <me@florianbigard.com>2018-05-17 10:55:50 +0200
commit74af5a8361f4ccb460001706ce249d50c747f361 (patch)
tree4e077f14a6c604799b15fdbea98a2d8c8bdc7576 /client/e2e/protractor.conf.js
parent6200d8d91710b03a72a27e35cbe6eed1e6cc8c62 (diff)
downloadPeerTube-74af5a8361f4ccb460001706ce249d50c747f361.tar.gz
PeerTube-74af5a8361f4ccb460001706ce249d50c747f361.tar.zst
PeerTube-74af5a8361f4ccb460001706ce249d50c747f361.zip
Client E2E tests first step
Diffstat (limited to 'client/e2e/protractor.conf.js')
-rw-r--r--client/e2e/protractor.conf.js29
1 files changed, 29 insertions, 0 deletions
diff --git a/client/e2e/protractor.conf.js b/client/e2e/protractor.conf.js
new file mode 100644
index 000000000..30705cb72
--- /dev/null
+++ b/client/e2e/protractor.conf.js
@@ -0,0 +1,29 @@
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: 11000,
8 specs: [
9 './src/**/*.e2e-spec.ts'
10 ],
11 capabilities: {
12 'browserName': 'chrome'
13 },
14 directConnect: true,
15 baseUrl: 'http://localhost:4200/',
16 framework: 'jasmine',
17 jasmineNodeOpts: {
18 showColors: true,
19 defaultTimeoutInterval: 30000,
20 print: function () {}
21 },
22
23 onPrepare () {
24 require('ts-node').register({
25 project: require('path').join(__dirname, './tsconfig.e2e.json')
26 })
27 jasmine.getEnv().addReporter(new SpecReporter({spec: {displayStacktrace: true}}))
28 }
29}