Skip to content

Commit

Permalink
fix nightwatch report directory;
Browse files Browse the repository at this point in the history
use colored output for building and deploying integration
OIL-339
  • Loading branch information
Alexander Glintschert committed May 10, 2019
1 parent a4b9677 commit ef30d27
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
.awcache/
dist/
node_modules/
reports/browserstack-reports/
reports/*.html
test/e2e/.awcache/
test/e2e/dist/
test/e2e/node_modules/
Expand Down
4 changes: 3 additions & 1 deletion JenkinsFileBuildAndDeployIntegration
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ node {
}

stage('E2E-Test') {
sh "npm run test:selenium"
wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'XTerm']) {
sh "npm run test:selenium"
}
}

stage('Create Git Tag') {
Expand Down
4 changes: 2 additions & 2 deletions etc/nightwatch.remote.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ const HtmlReporter = require('nightwatch-html-reporter');

let reporter = new HtmlReporter({
uniqueFilename: true,
reportsDirectory: __dirname + '/../target/reports'
reportsDirectory: __dirname + '/../reports'
});

nightwatch_config = {
src_folders: [
"test/e2e"
],

"output_folder": "./target/browserstack-reports",
"output_folder": "./reports/browserstack-reports",

selenium: {
"start_process": false,
Expand Down
Empty file added reports/.emptyFile
Empty file.

0 comments on commit ef30d27

Please sign in to comment.