aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/protractor.conf.js
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-19 13:58:29 +0200
committerChocobozzz <me@florianbigard.com>2018-05-22 09:17:21 +0200
commit0b33c5206023de0946b247e767087a518e0dec9a (patch)
tree69bebf7db9271c54938ce9457b43eff15222e243 /client/e2e/protractor.conf.js
parentcd4d7a2ca868209fb1e2dbd790c1e5d6cca77e86 (diff)
downloadPeerTube-0b33c5206023de0946b247e767087a518e0dec9a.tar.gz
PeerTube-0b33c5206023de0946b247e767087a518e0dec9a.tar.zst
PeerTube-0b33c5206023de0946b247e767087a518e0dec9a.zip
Improve e2e tests
Diffstat (limited to 'client/e2e/protractor.conf.js')
-rw-r--r--client/e2e/protractor.conf.js35
1 files changed, 24 insertions, 11 deletions
diff --git a/client/e2e/protractor.conf.js b/client/e2e/protractor.conf.js
index 7b5f8de43..a4fd12473 100644
--- a/client/e2e/protractor.conf.js
+++ b/client/e2e/protractor.conf.js
@@ -4,7 +4,7 @@
4const {SpecReporter} = require('jasmine-spec-reporter') 4const {SpecReporter} = require('jasmine-spec-reporter')
5 5
6exports.config = { 6exports.config = {
7 allScriptsTimeout: 11000, 7 allScriptsTimeout: 25000,
8 specs: [ 8 specs: [
9 './src/**/*.e2e-spec.ts' 9 './src/**/*.e2e-spec.ts'
10 ], 10 ],
@@ -23,12 +23,6 @@ exports.config = {
23 version: '66' 23 version: '66'
24 }, 24 },
25 { 25 {
26 browserName: 'Chrome',
27 version: '66',
28 os: 'android',
29
30 },
31 {
32 browserName: 'Safari', 26 browserName: 'Safari',
33 version: '11.1' 27 version: '11.1'
34 }, 28 },
@@ -42,16 +36,35 @@ exports.config = {
42 }, 36 },
43 { 37 {
44 browserName: 'Edge', 38 browserName: 'Edge',
45 version: '17' 39 version: '16'
46 } 40 },
41 {
42 browserName: 'Chrome',
43 device: 'Google Nexus 6',
44 realMobile: 'true',
45 os_version: '5.0'
46 },
47 // {
48 // browserName: 'Safari',
49 // device: 'iPhone 6s',
50 // realMobile: 'true',
51 // os_version: '9.0'
52 // },
53 // {
54 // browserName: 'Safari',
55 // device: 'iPhone SE',
56 // realMobile: 'true',
57 // os_version: '11.2'
58 // }
47 ], 59 ],
48 60
49 maxSessions: 1, 61 maxSessions: 1,
50 baseUrl: 'http://localhost:4200/', 62 // BrowserStack compatible ports: https://www.browserstack.com/question/664
63 baseUrl: 'http://localhost:3333/',
51 framework: 'jasmine', 64 framework: 'jasmine',
52 jasmineNodeOpts: { 65 jasmineNodeOpts: {
53 showColors: true, 66 showColors: true,
54 defaultTimeoutInterval: 30000, 67 defaultTimeoutInterval: 45000,
55 print: function () {} 68 print: function () {}
56 }, 69 },
57 70