Support BrowserStack in UI testing

This commit is contained in:
Kazuhito Yokoi
2020-01-21 09:49:19 +09:00
committed by GitHub
parent ee6f6ae391
commit b49835c72f
4 changed files with 101 additions and 23 deletions

View File

@@ -26,6 +26,10 @@ module.exports = function(grunt) {
nodemonArgs.push(flowFile);
}
var browserstack = grunt.option('browserstack');
if (browserstack) {
process.env.BROWSERSTACK = true;
}
var nonHeadless = grunt.option('non-headless');
if (nonHeadless) {
process.env.NODE_RED_NON_HEADLESS = true;