diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-28 09:29:17 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-28 09:29:17 +0100 |
commit | a9536a4be90404030ff89013ad20082fbd49b8e0 (patch) | |
tree | cf4dfe0f5b3a62e2835eb255a1a77c908eb92bac /client | |
parent | 4077aecd0a5732a739fde559568ee4d59d1ea4c0 (diff) | |
download | PeerTube-a9536a4be90404030ff89013ad20082fbd49b8e0.tar.gz PeerTube-a9536a4be90404030ff89013ad20082fbd49b8e0.tar.zst PeerTube-a9536a4be90404030ff89013ad20082fbd49b8e0.zip |
Update E2E
Diffstat (limited to 'client')
-rw-r--r-- | client/e2e/wdio.browserstack.conf.ts | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/client/e2e/wdio.browserstack.conf.ts b/client/e2e/wdio.browserstack.conf.ts index b40de8fa3..c3c1e2b34 100644 --- a/client/e2e/wdio.browserstack.conf.ts +++ b/client/e2e/wdio.browserstack.conf.ts | |||
@@ -17,26 +17,25 @@ function buildMainOptions (sessionName: string) { | |||
17 | } | 17 | } |
18 | } | 18 | } |
19 | 19 | ||
20 | function buildBStackDesktopOptions (sessionName: string, resolution?: string) { | 20 | function buildBStackDesktopOptions (sessionName: string, resolution: string, os?: string) { |
21 | return { | 21 | return { |
22 | 'bstack:options': { | 22 | 'bstack:options': { |
23 | ...buildMainOptions(sessionName), | 23 | ...buildMainOptions(sessionName), |
24 | 24 | ||
25 | os, | ||
25 | resolution | 26 | resolution |
26 | } | 27 | } |
27 | } | 28 | } |
28 | } | 29 | } |
29 | 30 | ||
30 | function buildBStackMobileOptions (sessionName: string, deviceName: string, osVersion: string, appiumVersion?: string) { | 31 | function buildBStackMobileOptions (sessionName: string, deviceName: string, osVersion: string) { |
31 | return { | 32 | return { |
32 | 'bstack:options': { | 33 | 'bstack:options': { |
33 | ...buildMainOptions(sessionName), | 34 | ...buildMainOptions(sessionName), |
34 | 35 | ||
35 | realMobile: true, | 36 | realMobile: true, |
36 | osVersion, | 37 | osVersion, |
37 | deviceName, | 38 | deviceName |
38 | |||
39 | appiumVersion | ||
40 | } | 39 | } |
41 | } | 40 | } |
42 | } | 41 | } |
@@ -58,9 +57,9 @@ module.exports = { | |||
58 | }, | 57 | }, |
59 | { | 58 | { |
60 | browserName: 'Firefox', | 59 | browserName: 'Firefox', |
61 | browserVersion: '68', // ESR | 60 | browserVersion: '68', // Very old ESR |
62 | 61 | ||
63 | ...buildBStackDesktopOptions('Firefox ESR Desktop', '1280x1024') | 62 | ...buildBStackDesktopOptions('Firefox ESR Desktop', '1280x1024', 'Windows') |
64 | }, | 63 | }, |
65 | { | 64 | { |
66 | browserName: 'Safari', | 65 | browserName: 'Safari', |