fix composer issue and more
This commit is contained in:
parent
af0c0c0afe
commit
2c983f8cee
7 changed files with 54 additions and 29 deletions
6
start.js
6
start.js
|
@ -21,13 +21,17 @@ const scenario = require('./src/scenario');
|
|||
const riotserver = 'http://localhost:5000';
|
||||
|
||||
const noLogs = process.argv.indexOf("--no-logs") !== -1;
|
||||
const debug = process.argv.indexOf("--debug") !== -1;
|
||||
|
||||
async function runTests() {
|
||||
let sessions = [];
|
||||
|
||||
console.log("running tests ...");
|
||||
const options = {};
|
||||
options.headless = false;
|
||||
if (debug) {
|
||||
// options.slowMo = 10;
|
||||
options.headless = false;
|
||||
}
|
||||
if (process.env.CHROME_PATH) {
|
||||
const path = process.env.CHROME_PATH;
|
||||
console.log(`(using external chrome/chromium at ${path}, make sure it's compatible with puppeteer)`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue