diff --git a/Makefile b/Makefile index 2d32588e3..7593a282d 100644 --- a/Makefile +++ b/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