now the output isn't overwhelming anymore, output what's happening at every step
This commit is contained in:
parent
0be2e02381
commit
a6304ce83e
2 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,9 @@
|
||||||
|
PORT=8080
|
||||||
|
echo "running riot on http://localhost:$PORT..."
|
||||||
BASE_DIR=$(realpath $(dirname $0))
|
BASE_DIR=$(realpath $(dirname $0))
|
||||||
pushd $BASE_DIR > /dev/null
|
pushd $BASE_DIR > /dev/null
|
||||||
pushd riot-web/webapp/ > /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=$!
|
PID=$!
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
echo $PID > riot.pid
|
echo $PID > riot.pid
|
||||||
|
|
1
start.js
1
start.js
|
@ -29,6 +29,7 @@ global.riotserver = 'http://localhost:8080';
|
||||||
global.browser = null;
|
global.browser = null;
|
||||||
|
|
||||||
async function runTests() {
|
async function runTests() {
|
||||||
|
console.log("running tests ...");
|
||||||
global.browser = await puppeteer.launch();
|
global.browser = await puppeteer.launch();
|
||||||
const page = await helpers.newPage();
|
const page = await helpers.newPage();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue