2 * Copyright (c) 2017 ZTE Corporation.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * and the Apache License 2.0 which both accompany this distribution,
6 * and are available at http://www.eclipse.org/legal/epl-v10.html
7 * and http://www.apache.org/licenses/LICENSE-2.0
10 * ZTE - initial API and implementation and/or initial documentation
13 // Protractor configuration file, see link for more information
14 // https://github.com/angular/protractor/blob/master/lib/config.ts
16 const { SpecReporter } = require('jasmine-spec-reporter');
19 allScriptsTimeout: 11000,
21 './e2e/**/*.e2e-spec.ts'
24 'browserName': 'chrome'
27 baseUrl: 'http://localhost:4200/',
31 defaultTimeoutInterval: 30000,
35 require('ts-node').register({
36 project: 'e2e/tsconfig.e2e.json'
38 jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));