diff --git a/.gitignore b/.gitignore index c458abb..6d8a330 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,9 @@ chrome-profiler-events.json speed-measure-plugin.json +#Tests +/.nyc_output + # IDEs and editors /.idea .project diff --git a/.travis.yml b/.travis.yml index f0483af..738a288 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,7 @@ install: script: - npm run setup:install - npm run test -- --watch=false --no-progress --browsers=ChromeHeadlessNoSandbox + - npm run e2e - npm run docs:build after_success: diff --git a/e2e/src/app.e2e-spec.ts b/e2e/src/app.e2e-spec.ts index bda0605..626f28a 100644 --- a/e2e/src/app.e2e-spec.ts +++ b/e2e/src/app.e2e-spec.ts @@ -9,6 +9,6 @@ describe('workspace-project App', () => { it('should display welcome message', () => { page.navigateTo(); - expect(page.getParagraphText()).toEqual('Welcome to solid-app!'); + expect(page.getParagraphText()).toEqual('PROFILE DEMO APP'); }); }); diff --git a/package.json b/package.json index 9ede620..4d57db4 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "ng build", "test": "nyc ng test", "lint": "ng lint", - "e2e": "ng e2e", + "e2e": "nyc ng e2e", "coverage": "nyc report --reporter=text-lcov | coveralls", "docs:prepare": "npm install gitbook-cli -g && gitbook install", "docs:watch": "npm run docs:prepare && gitbook serve ./_docs ./docs --open",