diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-17 16:33:20 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-17 16:33:20 +0200 |
commit | 2e8e97f313683bdf8a7448f3d1ba1f1c27f6ad50 (patch) | |
tree | e45869b9fab36ac394d23fc3c4cb6310de146a17 /client/e2e/protractor.conf.js | |
parent | 4b4f22fc30063bb715230b1e0f76ac25050c5a55 (diff) | |
download | PeerTube-2e8e97f313683bdf8a7448f3d1ba1f1c27f6ad50.tar.gz PeerTube-2e8e97f313683bdf8a7448f3d1ba1f1c27f6ad50.tar.zst PeerTube-2e8e97f313683bdf8a7448f3d1ba1f1c27f6ad50.zip |
Add compatibility with browser stack
Diffstat (limited to 'client/e2e/protractor.conf.js')
-rw-r--r-- | client/e2e/protractor.conf.js | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/client/e2e/protractor.conf.js b/client/e2e/protractor.conf.js index 932eaed51..82daa435e 100644 --- a/client/e2e/protractor.conf.js +++ b/client/e2e/protractor.conf.js | |||
@@ -8,16 +8,17 @@ exports.config = { | |||
8 | specs: [ | 8 | specs: [ |
9 | './src/**/*.e2e-spec.ts' | 9 | './src/**/*.e2e-spec.ts' |
10 | ], | 10 | ], |
11 | multiCapabilities: [ | 11 | |
12 | { | 12 | seleniumAddress: 'http://hub-cloud.browserstack.com/wd/hub', |
13 | 'browserName': 'firefox', | 13 | capabilities: { |
14 | 'moz:firefoxOptions': { | 14 | 'browserstack.user': process.env.BROWSERSTACK_USER, |
15 | binary: 'firefox-developer' | 15 | 'browserstack.key': process.env.BROWSERSTACK_KEY, |
16 | } | 16 | 'browserName': 'chrome', |
17 | } | 17 | 'browserstack.local': true, |
18 | ], | 18 | 'project': 'PeerTube' |
19 | }, | ||
20 | |||
19 | maxSessions: 1, | 21 | maxSessions: 1, |
20 | directConnect: true, | ||
21 | baseUrl: 'http://localhost:4200/', | 22 | baseUrl: 'http://localhost:4200/', |
22 | framework: 'jasmine', | 23 | framework: 'jasmine', |
23 | jasmineNodeOpts: { | 24 | jasmineNodeOpts: { |