Revision 1990c3c722a02e304be754f6949d5b9600a181d1 authored by Georgios Kalpakas on 11 August 2017, 15:36:03 UTC, committed by Hans Larsen on 15 August 2017, 22:16:10 UTC
```
$ ls -l dist/*.js

 14942            dist/0.b19e913fbdd6507d346b.chunk.js
  1535            dist/inline.a1b446562b36eebb766d.bundle.js
523703            dist/main.19fec4390ff7837ee6ef.bundle.js
 37402  (+ 3088)  dist/polyfills.9f7e0e53bce2a6c8326e.bundle.js
 54001            dist/worker-basic.min.js

631583  (+ 3088)  total
```
1 parent b589d85
Raw File
protractor-e2e.conf.js
/**
 * @license
 * Copyright Google Inc. All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */

// Make sure that the command line is read as the first thing
// as this could exit node if the help script should be printed.
require('./dist/all/e2e_util/e2e_util').readCommandLine();

var BROWSER_OPTIONS = {
  LocalChrome: {
    'browserName': 'chrome',
  },
  ChromeOnTravis: {
    browserName: 'chrome',
    chromeOptions: {
      'args': ['--no-sandbox'],
      'binary': process.env.CHROME_BIN,
    }
  }
};

exports.config = {
  onPrepare: function() { beforeEach(function() { browser.ignoreSynchronization = false; }); },
  allScriptsTimeout: 11000,
  specs: ['dist/all/**/e2e_test/**/*_spec.js'],
  exclude: [
    'dist/all/@angular/examples/**',
    '**/key_events/**',  // can't tell why this is failing
    '**/sourcemap/**'    // fails only on travis
  ],
  capabilities: process.env.TRAVIS ? BROWSER_OPTIONS.ChromeOnTravis : BROWSER_OPTIONS.LocalChrome,
  directConnect: true,
  baseUrl: 'http://localhost:8000/',
  framework: 'jasmine2',
  jasmineNodeOpts:
      {showColors: true, defaultTimeoutInterval: 60000, print: function(msg) { console.log(msg) }},
  useAllAngular2AppRoots: true,
};
back to top