aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/e2e/wdio.browserstack.conf.ts13
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
20function buildBStackDesktopOptions (sessionName: string, resolution?: string) { 20function 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
30function buildBStackMobileOptions (sessionName: string, deviceName: string, osVersion: string, appiumVersion?: string) { 31function 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',