Commit f2837649 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

test the yarn dev client

parent 9224f8d7
......@@ -7,6 +7,28 @@ echo "Waiting some time for interface to be up"
sleep 5
echo "Testing / with client in development mode"
curl -I http://0.0.0.0:3001/ \
1> log/11-index.log \
2> log/11-index.err
if [ "$(cat log/11-index.log | grep "200 OK" | wc -l)" == "0" ]; then exit 11; fi
echo "Testing /phenotypes with client in development mode"
curl -I http://0.0.0.0:3001/phenotypes \
1> log/12-phenotypes.log \
2> log/12-phenotypes.err
echo "Testing opening project in webui with client in development mode"
curl -I http://0.0.0.0:3001/projects/$PROJECT_ID \
1> log/14-project.log \
2> log/14-project.err
if [ "$(cat log/14-*.log | grep "200 OK" | wc -l)" == "0" ]; then exit 14; fi
echo "Testing /"
curl -I http://0.0.0.0:3000/ \
1> log/01-index.log \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment