From 86afc23f27452f89db42c5ca6c3fa273fb0a78f8 Mon Sep 17 00:00:00 2001 From: Chris Ruppel Date: Fri, 16 Aug 2019 13:45:59 +0200 Subject: [PATCH] HID-1831: tabs->spaces + minor docs --- README.md | 2 +- src/e2e-tests/conf.js | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 954d4b58..134be24c 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ Now you can run the E2E tests: # Run all E2E tests in series yarn run protractor -# Run a single E2E test suite +# Run a single E2E test suite. Look in conf.js for suite names. protractor --suite="my-suite-name" src/e2e-tests/conf.js ``` diff --git a/src/e2e-tests/conf.js b/src/e2e-tests/conf.js index abbe5335..6269d6c3 100644 --- a/src/e2e-tests/conf.js +++ b/src/e2e-tests/conf.js @@ -6,13 +6,13 @@ if (!process.env.TRAVIS) { } exports.config = { - baseUrl: process.env.TRAVIS ? process.env.baseUrl : env.baseUrl, - directConnect: true, - jasmineNodeOpts: { - print: function() {}, + baseUrl: process.env.TRAVIS ? process.env.baseUrl : env.baseUrl, + directConnect: true, + jasmineNodeOpts: { + print: function() {}, defaultTimeoutInterval: 150000 - }, - onPrepare: function () { + }, + onPrepare: function () { jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: false @@ -34,13 +34,13 @@ exports.config = { ] }, }, - specs: ['specs/**/*-spec.js'], + specs: ['specs/**/*-spec.js'], suites: { - login: 'specs/login-spec.js', - nav: 'specs/navigation-spec.js', - profile: 'specs/profile/*-spec.js', + login: 'specs/login-spec.js', + nav: 'specs/navigation-spec.js', + profile: 'specs/profile/*-spec.js', list: 'specs/lists/*-spec.js', - search: 'specs/search-spec.js', + search: 'specs/search-spec.js', checkin: 'specs/checkin-spec.js', services: 'specs/service-spec.js', dashboard: 'specs/dashboard-spec.js',