chore: update port that cypress runs on for local vs test (#10847)

This commit is contained in:
Elizabeth Thompson
2020-09-16 12:31:03 -07:00
committed by GitHub
parent d3e9c565b7
commit 0d90bc9920
4 changed files with 10 additions and 2 deletions

View File

@@ -181,6 +181,7 @@ cypress-run-all() {
# so errors can print to stderr.
local flasklog="${HOME}/flask.log"
local port=8081
export CYPRESS_BASE_URL="http://localhost:${port}"
nohup flask run --no-debugger -p $port >"$flasklog" 2>&1 </dev/null &
local flaskProcessId=$!