forked from algolia/algoliasearch-client-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wdio.saucelabs.conf.js
64 lines (60 loc) · 1.55 KB
/
wdio.saucelabs.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* eslint-disable import/no-commonjs, functional/immutable-data, sonarjs/no-duplicate-string */
require('dotenv').config();
const baseConfig = require('./wdio.base.conf');
const sauceOptions = {
recordVideo: false,
recordScreenshots: false,
};
exports.config = {
...baseConfig,
services: [...(baseConfig.services || []), 'sauce'],
user: process.env.SAUCE_USERNAME,
key: process.env.SAUCE_ACCESS_KEY,
sauceConnect: true,
maxInstances: 5,
specFileRetries: 0,
capabilities: [
{
platformName: `Windows 7`,
browserName: 'internet explorer',
browserVersion: 'latest',
'sauce:options': sauceOptions,
},
...['7', '8.1'].map(platform => ({
platformName: `Windows ${platform}`,
browserName: 'internet explorer',
browserVersion: '11.0',
'sauce:options': sauceOptions,
})),
{
platformName: 'Windows 10',
browserName: 'internet explorer',
browserVersion: '11.285',
'sauce:options': sauceOptions,
},
{
platformName: 'Windows 7',
browserName: 'chrome',
browserVersion: '76.0',
'sauce:options': sauceOptions,
},
{
platformName: 'Windows 10',
browserName: 'chrome',
browserVersion: '77.0',
'sauce:options': sauceOptions,
},
{
platformName: 'Windows 7',
browserName: 'firefox',
browserVersion: '68.0',
'sauce:options': sauceOptions,
},
{
platformName: 'Windows 10',
browserName: 'firefox',
browserVersion: '69.0',
'sauce:options': sauceOptions,
},
],
};