aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/protractor.conf.js
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-18 11:02:40 +0200
committerChocobozzz <me@florianbigard.com>2018-05-22 09:17:20 +0200
commitcd4d7a2ca868209fb1e2dbd790c1e5d6cca77e86 (patch)
treea8d9e219c893551f669a3de37ae0ee91a6c0f7cd /client/e2e/protractor.conf.js
parentb4e5942ca79b8f5702c80197ec40eab8fa053a24 (diff)
downloadPeerTube-cd4d7a2ca868209fb1e2dbd790c1e5d6cca77e86.tar.gz
PeerTube-cd4d7a2ca868209fb1e2dbd790c1e5d6cca77e86.tar.zst
PeerTube-cd4d7a2ca868209fb1e2dbd790c1e5d6cca77e86.zip
Fix peertube with google bot
Diffstat (limited to 'client/e2e/protractor.conf.js')
-rw-r--r--client/e2e/protractor.conf.js36
1 files changed, 34 insertions, 2 deletions
diff --git a/client/e2e/protractor.conf.js b/client/e2e/protractor.conf.js
index 82daa435e..7b5f8de43 100644
--- a/client/e2e/protractor.conf.js
+++ b/client/e2e/protractor.conf.js
@@ -10,14 +10,42 @@ exports.config = {
10 ], 10 ],
11 11
12 seleniumAddress: 'http://hub-cloud.browserstack.com/wd/hub', 12 seleniumAddress: 'http://hub-cloud.browserstack.com/wd/hub',
13 capabilities: { 13 commonCapabilities: {
14 'browserstack.user': process.env.BROWSERSTACK_USER, 14 'browserstack.user': process.env.BROWSERSTACK_USER,
15 'browserstack.key': process.env.BROWSERSTACK_KEY, 15 'browserstack.key': process.env.BROWSERSTACK_KEY,
16 'browserName': 'chrome',
17 'browserstack.local': true, 16 'browserstack.local': true,
18 'project': 'PeerTube' 17 'project': 'PeerTube'
19 }, 18 },
20 19
20 multiCapabilities: [
21 {
22 browserName: 'Chrome',
23 version: '66'
24 },
25 {
26 browserName: 'Chrome',
27 version: '66',
28 os: 'android',
29
30 },
31 {
32 browserName: 'Safari',
33 version: '11.1'
34 },
35 {
36 browserName: 'Firefox',
37 version: '52' // ESR
38 },
39 {
40 browserName: 'Firefox',
41 version: '60'
42 },
43 {
44 browserName: 'Edge',
45 version: '17'
46 }
47 ],
48
21 maxSessions: 1, 49 maxSessions: 1,
22 baseUrl: 'http://localhost:4200/', 50 baseUrl: 'http://localhost:4200/',
23 framework: 'jasmine', 51 framework: 'jasmine',
@@ -34,3 +62,7 @@ exports.config = {
34 jasmine.getEnv().addReporter(new SpecReporter({spec: {displayStacktrace: true}})) 62 jasmine.getEnv().addReporter(new SpecReporter({spec: {displayStacktrace: true}}))
35 } 63 }
36} 64}
65
66exports.config.multiCapabilities.forEach(function (caps) {
67 for (var i in exports.config.commonCapabilities) caps[i] = caps[i] || exports.config.commonCapabilities[i]
68})