]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/e2e/protractor.conf.js
Add compatibility with browser stack
[github/Chocobozzz/PeerTube.git] / client / e2e / protractor.conf.js
index 932eaed51450057119173c846bd7017b4a103696..82daa435ef42409dc9da0566127c8c5cce7d8721 100644 (file)
@@ -8,16 +8,17 @@ exports.config = {
   specs: [
     './src/**/*.e2e-spec.ts'
   ],
-  multiCapabilities: [
-    {
-      'browserName': 'firefox',
-      'moz:firefoxOptions': {
-        binary: 'firefox-developer'
-      }
-    }
-  ],
+
+  seleniumAddress: 'http://hub-cloud.browserstack.com/wd/hub',
+  capabilities: {
+    'browserstack.user': process.env.BROWSERSTACK_USER,
+    'browserstack.key': process.env.BROWSERSTACK_KEY,
+    'browserName': 'chrome',
+    'browserstack.local': true,
+    'project': 'PeerTube'
+  },
+
   maxSessions: 1,
-  directConnect: true,
   baseUrl: 'http://localhost:4200/',
   framework: 'jasmine',
   jasmineNodeOpts: {