jxdnsong
2020-10-23 a7929e6b3ec9ac17233f39e55a2b8ac63ea75f42
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
// jshint unused: false
var dojoConfig = { async: true };
define({
    // The port on which the instrumenting proxy will listen
    proxyPort: 9000,
 
    // A fully qualified URL to the Intern proxy
    proxyUrl: 'http://localhost:9000/',
 
    // Username and key should be set in the BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY environment variables
    tunnel: 'BrowserStackTunnel',
 
    // See https://www.browserstack.com/automate/capabilities for capabilities and environments
    capabilities: {
        name: 'dgrid'
    },
 
    environments: [
        { browserName: 'internet explorer', version: [ '9', '10', '11' ], platform: 'WINDOWS' },
        { browserName: 'firefox', platform: [ 'WINDOWS', 'MAC' ] },
        { browserName: 'chrome', platform: [ 'WINDOWS', 'MAC' ] }
    ],
 
    // Maximum number of simultaneous integration tests that should be executed on the remote WebDriver service
    maxConcurrency: 2,
 
    basePath: '..',
 
    // Configuration options for the module loader;
    // any AMD configuration options supported by the Dojo loader can be used here
    loaders: {
        'host-browser': 'dojo/dojo.js'
    },
    loaderOptions: {
        // Packages that should be registered with the loader in each testing environment
        packages: [
            { name: 'dojo', location: 'dojo' },
            { name: 'dijit', location: 'dijit' },
            { name: 'dgrid', location: 'dgrid' },
            { name: 'dstore', location: 'dstore' }
        ]
    },
 
    // A regular expression matching URLs to files that should not be included in code coverage analysis
    excludeInstrumentation: /^dojox?|^dijit|^dstore|\/node_modules\/|\/test\/|\/nls\//,
 
    // Non-functional test suite(s) to run in each browser
    suites: [ 'dgrid/test/intern/all' ],
 
    // Functional test suite(s) to run in each browser once non-functional tests are completed
    functionalSuites: [ 'dgrid/test/intern/functional' ]
});