Skip to content
Snippets Groups Projects
Commit 92f502ec authored by Yuriy Maksymets's avatar Yuriy Maksymets
Browse files

Simplified test run script

parent a29780f4
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
set -e set -e
set -x
TEST1="peer1.e2e.js" TEST1="peer1.e2e.js"
TEST2="peer2.e2e.js" TEST2="peer2.e2e.js"
case "$1" in COMMAND="npx testcafe $1"
chrome) BROWSERS=chrome ;;
*) BROWSERS=all ;;
esac
COMMAND="npx testcafe $BROWSERS"
$COMMAND $TEST1 & $COMMAND $TEST2 $COMMAND $TEST1 & $COMMAND $TEST2
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment