mirror of https://github.com/apache/superset.git
allow users to set port for cypress runs (#16533)
This commit is contained in:
parent
99d15b25b0
commit
77ae2e1826
10
Makefile
10
Makefile
|
@ -66,7 +66,7 @@ venv:
|
|||
test -d venv || ${PYTHON} -m venv venv # setup a python3 virtualenv
|
||||
. venv/bin/activate
|
||||
|
||||
make activate:
|
||||
activate:
|
||||
source venv/bin/activate
|
||||
|
||||
pre-commit:
|
||||
|
@ -90,3 +90,11 @@ flask-app:
|
|||
|
||||
node-app:
|
||||
cd superset-frontend; npm run dev-server
|
||||
|
||||
build-cypress:
|
||||
cd superset-frontend; npm run build-instrumented
|
||||
cd superset-frontend/cypress-base; npm install
|
||||
|
||||
open-cypress:
|
||||
if ! [ $(port) ]; then cd superset-frontend/cypress-base; CYPRESS_BASE_URL=http://localhost:9000 npm run cypress open; fi
|
||||
cd superset-frontend/cypress-base; CYPRESS_BASE_URL=http://localhost:$(port) npm run cypress open
|
||||
|
|
Loading…
Reference in New Issue