Created
January 10, 2019 08:02
-
-
Save seleniumgists/feae1c04d31604e5d11e9a32f7856ce8 to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp.task('test-e2e-prod', () => { | |
process.env.NODE_ENV = argv.env || 'default'; | |
process.env.NODE_CONFIG_DIR = './test/config/e2e-prod/env'; | |
return protractorFlake({ | |
protractorPath: 'node_modules/protractor/bin/protractor', | |
maxAttempts: 2, | |
parser: 'standard', | |
// expects node to be in path | |
// set this to wherever the node bin is located | |
nodeBin: 'node', | |
// set color to one of the colors available at 'chalk' - <https://github.com/chalk/ansi-styles#colors> | |
color: 'magenta', | |
protractorArgs: ["./test/config/e2e-prod/protractor.conf.js"] | |
}, function (status, output) { | |
<http://console.info|console.info>(output); | |
process.exit(status); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment