Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add console e2e test into vdp #148

Merged
merged 5 commits into from
Nov 24, 2022
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,15 @@ doc: ## Run Redoc for OpenAPI spec at http://localhost:3001
.PHONY: integration-test
integration-test: ## Run integration test for all dev repositories
@make build PROFILE=all
@make dev PROFILE=all
@sed 's/CFG_SERVER_PORT: 8083/CFG_SERVER_PORT: 8083\n CFG_SERVER_ITMODE: "true"/g' docker-compose-dev.yml > /tmp/docker-compose-integration-test.yml
COMPOSE_PROFILES=all docker-compose -f /tmp/docker-compose-integration-test.yml up -d
@cd dev/console && npm install && npx playwright install && npx playwright test
@cd dev/pipeline-backend && HOSTNAME=localhost make integration-test
@cd dev/connector-backend && HOSTNAME=localhost make integration-test
@cd dev/model-backend && HOSTNAME=localhost make integration-test
@cd dev/mgmt-backend && HOSTNAME=localhost make integration-test
@make down
@rm /tmp/docker-compose-integration-test.yml

.PHONY: help
help: ## Show this help
Expand Down