diff --git a/test/routing-samples/runner.js b/test/routing-samples/runner.js index 75129ffb..137e233f 100644 --- a/test/routing-samples/runner.js +++ b/test/routing-samples/runner.js @@ -71,7 +71,6 @@ const runTestsOnApp = (app) => { runner.on('exit', function(code) { console.log('Test runner exited with code: ' + code); returnCode = code; - routerApp.stderr.pause(); routerApp.kill(code); }); runner.on('error', function(err) { diff --git a/test/routing-samples/wdio.conf.js b/test/routing-samples/wdio.conf.js index 37ea7877..08fa197e 100644 --- a/test/routing-samples/wdio.conf.js +++ b/test/routing-samples/wdio.conf.js @@ -11,6 +11,9 @@ */ /* eslint-disable */ +// will load environment vars from testenv file and set on process.env +require('@okta/env').setEnvironmentVarsFromTestEnv(__dirname); + const logLevel = 'warn'; const browserOptions = { @@ -95,9 +98,10 @@ exports.config = { // maxInstances can get overwritten per capability. So if you have an in-house Selenium // grid with only 5 firefox instances available you can make sure that not more than // 5 instances get started at a time. - maxInstances: 5, + maxInstances: 1, // browserName: 'chrome', + 'goog:chromeOptions': browserOptions, acceptInsecureCerts: true // If outputDir is provided WebdriverIO can capture driver session logs // it is possible to configure which logTypes to include/exclude.