-
Notifications
You must be signed in to change notification settings - Fork 10
/
wdio.sauce.conf.js
39 lines (34 loc) · 957 Bytes
/
wdio.sauce.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
import { config as common } from './wdio.conf.js'
const sauceOptions = {
'sauce:options': {
seleniumVersion: '3.141.59',
name: 'Performance Test for Jaspers Page',
build: `Build ${Date.now()}`.slice(0, -3),
extendedDebugging: true,
capturePerformance: true
}
}
const chromeOptions = {
'goog:chromeOptions': {
'w3c': true
}
}
export const config = {
...common,
user: process.env.SAUCE_USERNAME,
key: process.env.SAUCE_ACCESS_KEY,
specs: [
'./tests/sauce.e2e.js'
],
// If you have trouble getting all important capabilities together, check out the
// Sauce Labs platform configurator - a great tool to configure your capabilities:
// https://docs.saucelabs.com/reference/platforms-configurator
//
capabilities: [{
browserName: 'chrome',
platformName: 'Windows 10',
browserVersion: 'latest',
...sauceOptions,
...chromeOptions
}]
}