This repository has been archived by the owner on Apr 17, 2022. It is now read-only.
forked from vaadin/vaadin-grid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wct.conf.js
67 lines (61 loc) · 2.32 KB
/
wct.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
65
66
67
var argv = require('yargs').argv;
module.exports = {
testTimeout: 180 * 1000,
registerHooks: function(context) {
var saucelabsPlatforms = [
// TODO: Excluded iOS tests from the hybrid version. Re-enable for P2 version.
// 'OS X 10.12/[email protected]',
// 'OS X 10.12/[email protected]',
'Windows 10/microsoftedge@14',
'Windows 10/internet explorer@11',
'OS X 10.12/[email protected]'
];
var cronPlatforms = [
'Windows 10/chrome@55',
'Windows 10/firefox@50'
];
if (argv.env === 'saucelabs') {
context.options.plugins.sauce.browsers = saucelabsPlatforms.concat(cronPlatforms);
} else if (argv.env === 'saucelabs-cron') {
context.options.plugins.sauce.browsers = cronPlatforms;
// Add coverage for local tests only
} else {
context.options.plugins.istanbul = {
'dir': './coverage',
'reporters': ['text-summary', 'lcov'],
'include': [
'/iron-list-behavior.html',
'/vaadin-grid-active-item-behavior.html',
'/vaadin-grid-array-data-provider-behavior.html',
'/vaadin-grid-cell-click-behavior.html',
'/vaadin-grid-column.html',
'/vaadin-grid-data-provider-behavior.html',
'/vaadin-grid-dynamic-columns-behavior.html',
// TODO: @limonte, revisit this in future, currently a weird istanbul bug here
// '/vaadin-grid-filter-behavior.html',
'/vaadin-grid-focusable-cell-container-behavior.html',
'/vaadin-grid-keyboard-navigation-behavior.html',
'/vaadin-grid-row-details-behavior.html',
'/vaadin-grid-selection-behavior.html',
'/vaadin-grid-selection-column.html',
'/vaadin-grid-sizer.html',
// TODO: @limonte, revisit this in future, currently a weird istanbul bug here
// '/vaadin-grid-sort-behavior.html',
'/vaadin-grid-table-cell.html',
'/vaadin-grid-table-focus-trap.html',
'/vaadin-grid-table-header-footer.html',
'/vaadin-grid-table-outer-scroller.html',
'/vaadin-grid-table-row.html',
'/vaadin-grid-table-scroll-behavior.html',
'/vaadin-grid-table.html',
'/vaadin-grid-templatizer.html',
'/vaadin-grid.html'
],
'exclude': []
};
}
},
plugins: {
'random-output': true
}
};