-
Notifications
You must be signed in to change notification settings - Fork 2
/
Gruntfile_mobile.js
115 lines (108 loc) · 3.4 KB
/
Gruntfile_mobile.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
module.exports = function(grunt) {
// Do grunt-related things in here
grunt.loadNpmTasks('grunt-saucelabs');
// Project configuration.
grunt.initConfig({
'saucelabs-custom': {
all: {
options: {
"max-duration": 2400,
"throttled": 3,
"tunneled": true,
"tunnelArgs": ['--vm-version', 'dev-varnish'],
urls: [
'http://localhost:8080/saucerunner.html?testTimeout=2000'
],
testname: 'DREEM smoke test mobile',
browsers: [
{
browserName: 'android',
version: '5.1',
platform: 'Linux',
deviceName: 'Android Emulator',
'device-orientation': 'portrait'
},
{
browserName: 'iphone',
version: '8.2',
platform: 'OS X 10.10',
deviceName: 'iPhone Simulator',
'device-orientation': 'portrait'
}
// {
// browserName: 'ipad',
// version: '8.1',
// platform: 'OS X 10.9',
// deviceName: 'iPad Simulator',
// 'device-orientation': 'portrait'
// }//,
// {
// browserName: 'android',
// version: '4.3',
// platform: 'Linux',
// deviceName: 'Android Emulator',
// 'device-orientation': 'portrait'
// },
// {
// browserName: 'android',
// version: '4.2',
// platform: 'Linux',
// deviceName: 'Android Emulator',
// 'device-orientation': 'portrait'
// },
// {
// browserName: 'android',
// version: '4.1',
// platform: 'Linux',
// deviceName: 'Android Emulator',
// 'device-orientation': 'portrait'
// },
// {
// browserName: 'android',
// version: '4.0',
// platform: 'Linux',
// deviceName: 'Android Emulator',
// 'device-orientation': 'portrait'
// },
// {
// browserName: 'android',
// version: '4.4',
// platform: 'Linux',
// deviceName: 'Google Nexus 7 HD Emulator',
// 'device-orientation': 'portrait'
// },
// {
// browserName: 'android',
// version: '4.4',
// platform: 'Linux',
// deviceName: 'Google Nexus 7C Emulator',
// 'device-orientation': 'portrait'
// },
// {
// browserName: 'android',
// version: '4.0',
// platform: 'Linux',
// deviceName: 'HTC Evo 3D Emulator',
// 'device-orientation': 'portrait'
// },
// {
// browserName: 'android',
// version: '4.1',
// platform: 'Linux',
// deviceName: 'HTC One X Emulator',
// 'device-orientation': 'portrait'
// },
// {
// browserName: 'android',
// version: '4.4',
// platform: 'Linux',
// deviceName: 'LG Nexus 4 Emulator',
// 'device-orientation': 'portrait'
// }
]
}
}
}
});
grunt.registerTask('default', ['saucelabs-custom']);
};