Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Tests failure when run in parallel #4779

Closed
@ziXet

Description

@ziXet

Bug report

  • Node Version: 8.8.1
  • Protractor Version: 5.3.1
  • Angular Version: 4.4.6
  • Browser(s): chrome 66
  • Operating System and Version Linux
  • Protractor config file
// https://github.com/angular/protractor/blob/master/lib/config.ts

const { SpecReporter } = require('jasmine-spec-reporter');

exports.config = {
  allScriptsTimeout: 11000,
  specs: [
    './e2e/**/*.spec.ts'
  ],
  capabilities: {
    'browserName': 'chrome',
    'shardTestFiles': true,
    'maxInstances': 2
  },
  directConnect: true,
  baseUrl: 'http://localhost:4200/',
  framework: 'jasmine',

  jasmineNodeOpts: {
    showColors: true,
    defaultTimeoutInterval: 30000,
    print: function() {}
  },
  onPrepare() {
    jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
    require('ts-node').register({
      project: 'e2e/tsconfig.e2e.json'
    });
  }
};
  1. Clone this repo. https://bitbucket.org/ziXet/angular-protractor-test
  2. npm install
  3. npm run e2e

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions