Changeset View
Changeset View
Standalone View
Standalone View
Makefile.local
Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | |||||
test-full: | test-full: | ||||
$(TEST) $(TESTFULL_FLAGS) $(TEST_DIRS) | $(TEST) $(TESTFULL_FLAGS) $(TEST_DIRS) | ||||
.PHONY: test-frontend-cmd | .PHONY: test-frontend-cmd | ||||
test-frontend-cmd: build-webpack-test add-users-test | test-frontend-cmd: build-webpack-test add-users-test | ||||
bash -c "trap 'trap - SIGINT SIGTERM ERR EXIT && \ | bash -c "trap 'trap - SIGINT SIGTERM ERR EXIT && \ | ||||
jobs -p | xargs -r kill' SIGINT SIGTERM ERR EXIT; \ | jobs -p | xargs -r kill' SIGINT SIGTERM ERR EXIT; \ | ||||
python3 swh/web/manage.py runserver --nostatic --settings=$(SETTINGS_TEST) & \ | python3 swh/web/manage.py runserver --nostatic --settings=$(SETTINGS_TEST) & \ | ||||
sleep 10 && $(YARN) run cypress run --config numTestsKeptInMemory=0 && \ | sleep 10 && $(YARN) run cypress run -b /tmp/chromium-latest-linux/latest/chrome --config numTestsKeptInMemory=0 && \ | ||||
$(YARN) mochawesome && $(YARN) nyc-report" | $(YARN) mochawesome && $(YARN) nyc-report" | ||||
test-frontend: export CYPRESS_SKIP_SLOW_TESTS=1 | test-frontend: export CYPRESS_SKIP_SLOW_TESTS=1 | ||||
test-frontend: test-frontend-cmd | test-frontend: test-frontend-cmd | ||||
test-frontend-full: export CYPRESS_SKIP_SLOW_TESTS=0 | test-frontend-full: export CYPRESS_SKIP_SLOW_TESTS=0 | ||||
test-frontend-full: test-frontend-cmd | test-frontend-full: test-frontend-cmd | ||||
Show All 24 Lines |