now the output isn't overwhelming anymore, output what's happening at every step

This commit is contained in:
Bruno Windels 2018-07-27 13:43:12 +02:00
parent 0be2e02381
commit a6304ce83e
2 changed files with 4 additions and 1 deletions

View file

@ -1,7 +1,9 @@
PORT=8080
echo "running riot on http://localhost:$PORT..."
BASE_DIR=$(realpath $(dirname $0))
pushd $BASE_DIR > /dev/null
pushd riot-web/webapp/ > /dev/null
python -m SimpleHTTPServer 8080 > /dev/null 2>&1 &
python -m SimpleHTTPServer $PORT > /dev/null 2>&1 &
PID=$!
popd > /dev/null
echo $PID > riot.pid

View file

@ -29,6 +29,7 @@ global.riotserver = 'http://localhost:8080';
global.browser = null;
async function runTests() {
console.log("running tests ...");
global.browser = await puppeteer.launch();
const page = await helpers.newPage();