|
| 1 | +{ |
| 2 | + "environments": [ |
| 3 | + { |
| 4 | + "browserName": "chrome", |
| 5 | + "chromeOptions": { |
| 6 | + "args": ["headless", "disable-gpu"] |
| 7 | + }, |
| 8 | + "fixSessionCapabilities": "no-detect" |
| 9 | + } |
| 10 | + ], |
| 11 | + |
| 12 | + "leaveRemoteOpen": false, |
| 13 | + |
| 14 | + "basePath": "../", |
| 15 | + |
| 16 | + "node": { |
| 17 | + "loader": { |
| 18 | + "script": "./intern-requirejs-loader.js", |
| 19 | + "options": { |
| 20 | + "baseUrl": "." |
| 21 | + } |
| 22 | + } |
| 23 | + }, |
| 24 | + |
| 25 | + "browser": { |
| 26 | + "loader": { |
| 27 | + "script": "dpointer/intern-requirejs-loader.js", |
| 28 | + "options": { |
| 29 | + "baseUrl": "../../..", |
| 30 | + "packages": [ |
| 31 | + { "name": "intern", "location": "dpointer/node_modules/intern" } |
| 32 | + ] |
| 33 | + } |
| 34 | + } |
| 35 | + }, |
| 36 | + |
| 37 | + "suites": [ |
| 38 | + "dpointer/tests/unit/dpointer-utils" |
| 39 | + ], |
| 40 | + |
| 41 | + "functionalSuites": [ |
| 42 | + ], |
| 43 | + |
| 44 | + "coverage": [ |
| 45 | + "**/*.js", |
| 46 | + "!nls/**", |
| 47 | + "!node_modules/**", |
| 48 | + "!samples/**", |
| 49 | + "!tests/**", |
| 50 | + "!intern*", |
| 51 | + "!Gruntfile.js" |
| 52 | + ], |
| 53 | + |
| 54 | + "tunnelOptions": { |
| 55 | + "drivers": [ "firefox", "internet explorer", "MicrosoftEdge" ] |
| 56 | + }, |
| 57 | + |
| 58 | + "WAIT_TIMEOUT": 30000, |
| 59 | + "POLL_INTERVAL": 500, |
| 60 | + |
| 61 | + "defaultTimeout": 120000, |
| 62 | + "functionalTimeouts": { |
| 63 | + "connectTimeout": 60000, |
| 64 | + "executeAsync": 30000, |
| 65 | + "find": 10000, |
| 66 | + "pageLoad": 60000 |
| 67 | + }, |
| 68 | + |
| 69 | + "configs": { |
| 70 | + "chrome-debug": { |
| 71 | + "description": "Run locally with Chrome visible and leave it open at end", |
| 72 | + "leaveRemoteOpen": true, |
| 73 | + "environments": [ |
| 74 | + { "browser": "chrome", "fixSessionCapabilities": false } |
| 75 | + ] |
| 76 | + }, |
| 77 | + |
| 78 | + "firefox": { |
| 79 | + "description": "Run locally with Firefox", |
| 80 | + "environments": [ |
| 81 | + { |
| 82 | + "browserName": "firefox", |
| 83 | + "fixSessionCapabilities": false, |
| 84 | + "moz:firefoxOptions": { |
| 85 | + "args": [ |
| 86 | + "-headless", "--window-size=1024,768" |
| 87 | + ] |
| 88 | + } |
| 89 | + } |
| 90 | + ] |
| 91 | + }, |
| 92 | + |
| 93 | + "firefox-debug": { |
| 94 | + "description": "Run locally with Firefox visible and leave it open at end", |
| 95 | + "leaveRemoteOpen": true, |
| 96 | + "environments": [ |
| 97 | + { "browser": "firefox", "fixSessionCapabilities": false } |
| 98 | + ] |
| 99 | + }, |
| 100 | + |
| 101 | + "safari": { |
| 102 | + "description": "Run locally with Safari visible and leave it open at end", |
| 103 | + "leaveRemoteOpen": true, |
| 104 | + "environments": [ |
| 105 | + { "browser": "safari", "fixSessionCapabilities": false } |
| 106 | + ] |
| 107 | + }, |
| 108 | + |
| 109 | + "grid": { |
| 110 | + "description": "Run tests against selenium grid, must specify serverUrl and tunnelOptions.hostname on command line", |
| 111 | + "tunnel": "null", |
| 112 | + "environments": [ |
| 113 | + { "browser": "chrome" } |
| 114 | + ] |
| 115 | + }, |
| 116 | + |
| 117 | + "browserstack": { |
| 118 | + "description": "Run tests on BrowserStack.", |
| 119 | + "tunnel": "browserstack", |
| 120 | + "maxConcurrency": 2, |
| 121 | + "capabilities": { |
| 122 | + "idle-timeout": 60, |
| 123 | + "fixSessionCapabilities": "no-detect" |
| 124 | + }, |
| 125 | + "environments": [ |
| 126 | + { "browser": "internet explorer", "version": ["11"] }, |
| 127 | + { |
| 128 | + "browser": "firefox", |
| 129 | + "version": ["latest"], |
| 130 | + "platform": ["WINDOWS"] |
| 131 | + }, |
| 132 | + { |
| 133 | + "browser": "chrome", |
| 134 | + "version": ["latest"], |
| 135 | + "platform": ["WINDOWS"] |
| 136 | + }, |
| 137 | + { "browser": "safari", "version": ["10"] } |
| 138 | + ] |
| 139 | + }, |
| 140 | + |
| 141 | + "browserstack-ie": { |
| 142 | + "description": "Run tests on IE on BrowserStack.", |
| 143 | + "extends": ["browserstack"], |
| 144 | + "environments": [ |
| 145 | + { "browserName": "internet explorer", "version": "11", "name": "dpointer"} |
| 146 | + ] |
| 147 | + }, |
| 148 | + |
| 149 | + "sauce": { |
| 150 | + "description": "Run tests on SauceLabs", |
| 151 | + "environments": [ |
| 152 | + { "browserName": "MicrosoftEdge", "fixSessionCapabilities": false, "name": "dpointer"}, |
| 153 | + { "browserName": "internet explorer", "version": "11", "fixSessionCapabilities": false, "name": "dpointer"}, |
| 154 | + { "browserName": "firefox", "platform": [ "Windows 10" ], "fixSessionCapabilities": false, "name": "dpointer" }, |
| 155 | + { "browserName": "chrome", "platform": [ "Windows 10" ], "fixSessionCapabilities": false, "name": "dpointer" }, |
| 156 | + { "browserName": "safari", "fixSessionCapabilities": false, "name": "dpointer" } |
| 157 | + ], |
| 158 | + |
| 159 | + "proxyPort": 9000, |
| 160 | + "maxConcurrency": 5, |
| 161 | + "coverage": false, |
| 162 | + "tunnel": "saucelabs" |
| 163 | + }, |
| 164 | + |
| 165 | + "sauce-chrome": { |
| 166 | + "description": "Run tests on Chrome/Windows 10 on SauceLabs", |
| 167 | + "environments": [ |
| 168 | + { "browserName": "chrome", "platform": [ "Windows 10" ], "fixSessionCapabilities": false, "name": "dpointer" } |
| 169 | + ], |
| 170 | + |
| 171 | + "proxyPort": 9000, |
| 172 | + "maxConcurrency": 5, |
| 173 | + "coverage": false, |
| 174 | + "tunnel": "saucelabs" |
| 175 | + }, |
| 176 | + |
| 177 | + "sauce-firefox ": { |
| 178 | + "description": "Run tests on Firefox/Windows 10 on SauceLabs", |
| 179 | + "environments": [ |
| 180 | + { "browserName": "firefox", "platform": [ "Windows 10" ], "fixSessionCapabilities": false, "name": "dpointer" } |
| 181 | + ], |
| 182 | + |
| 183 | + "proxyPort": 9000, |
| 184 | + "maxConcurrency": 5, |
| 185 | + "coverage": false, |
| 186 | + "tunnel": "saucelabs" |
| 187 | + }, |
| 188 | + |
| 189 | + "sauce-ie": { |
| 190 | + "description": "Run tests on IE on SauceLabs.", |
| 191 | + "extends": ["sauce"], |
| 192 | + "environments": [ |
| 193 | + { "browserName": "internet explorer", "version": "11", "fixSessionCapabilities": "no-detect", |
| 194 | + "name": "dpointer" } |
| 195 | + ], |
| 196 | + "coverage": null |
| 197 | + }, |
| 198 | + |
| 199 | + "sauce-safari": { |
| 200 | + "description": "Run tests on Safari (Mac) on SauceLabs", |
| 201 | + "environments": [ |
| 202 | + { "browserName": "safari", "fixSessionCapabilities": false, "name": "dpointer" } |
| 203 | + ], |
| 204 | + |
| 205 | + "proxyPort": 9000, |
| 206 | + "maxConcurrency": 5, |
| 207 | + "coverage": false, |
| 208 | + "tunnel": "saucelabs" |
| 209 | + }, |
| 210 | + |
| 211 | + "sauce-ios": { |
| 212 | + "description": "Run tests on iOS on SauceLabs (currently hangs).", |
| 213 | + "extends": [ |
| 214 | + "sauce" |
| 215 | + ], |
| 216 | + "environments": [ |
| 217 | + { "browserName": "Safari", "platformName": "iOS", "platformVersion": "12.2", "deviceName": "iPad Simulator", |
| 218 | + "fixSessionCapabilities": "no-detect", "name": "dpointer" } |
| 219 | + ], |
| 220 | + "coverage": null |
| 221 | + }, |
| 222 | + |
| 223 | + "sauce-android": { |
| 224 | + "description": "Run tests on android on SauceLabs.", |
| 225 | + "extends": [ |
| 226 | + "sauce" |
| 227 | + ], |
| 228 | + "environments": [ |
| 229 | + { "browserName": "android", "platform": "Linux", "version": "6.0", "deviceName": "Android Emulator", |
| 230 | + "deviceType": "tablet", "fixSessionCapabilities": "no-detect", "name": "dpointer" } |
| 231 | + ], |
| 232 | + "coverage": null |
| 233 | + } |
| 234 | + |
| 235 | + } |
| 236 | +} |
0 commit comments