Skip to content

Commit e47bd82

Browse files
committed
ci: add more browsers
1 parent 9f29e36 commit e47bd82

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

test/e2e/nightwatch.browserstack.js

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ const nwConf = {
4040
name: 'Bstack-[Nightwatch] Vue Router Parallel Test',
4141
'browserstack.local': true,
4242
'browserstack.video': false,
43-
acceptSslCerts: true
43+
acceptSslCerts: true,
44+
resolution: '1024x768'
4445
},
4546

4647
test_settings: {
@@ -49,7 +50,13 @@ const nwConf = {
4950
chrome: {
5051
desiredCapabilities: {
5152
browser: 'chrome'
52-
// name: 'Bstack-[Nightwatch] Vue Router',
53+
}
54+
},
55+
56+
chromeQt: {
57+
desiredCapabilities: {
58+
browser: 'chrome',
59+
browser_version: '49.0'
5360
}
5461
},
5562

@@ -61,7 +68,19 @@ const nwConf = {
6168

6269
safari: {
6370
desiredCapabilities: {
64-
browser: 'safari'
71+
os: 'OS X',
72+
os_version: 'Mojave',
73+
browser: 'Safari',
74+
browser_version: '12.0'
75+
}
76+
},
77+
78+
safari6: {
79+
desiredCapabilities: {
80+
os: 'OS X',
81+
os_version: 'Lion',
82+
browser: 'Safari',
83+
browser_version: '6.0'
6584
}
6685
},
6786

@@ -110,7 +129,8 @@ for (const setting in nwConf.test_settings) {
110129
// merge common_capabilities
111130
for (const key in nwConf.common_capabilities) {
112131
// fallback to common_capabilities
113-
config['desiredCapabilities'][key] = config['desiredCapabilities'][key] || nwConf.common_capabilities[key]
132+
config['desiredCapabilities'][key] =
133+
config['desiredCapabilities'][key] || nwConf.common_capabilities[key]
114134
}
115135
}
116136

0 commit comments

Comments
 (0)