← Back to team overview

sts-sponsors team mailing list archive

[Merge] ~petermakowski/maas-site-manager:ci-e2e-tests into maas-site-manager:main

 

Peter Makowski has proposed merging ~petermakowski/maas-site-manager:ci-e2e-tests into maas-site-manager:main.

Requested reviews:
  MAAS Committers (maas-committers)

For more details, see:
https://code.launchpad.net/~petermakowski/maas-site-manager/+git/site-manager/+merge/439630
-- 
Your team MAAS Committers is requested to review the proposed merge of ~petermakowski/maas-site-manager:ci-e2e-tests into maas-site-manager:main.
diff --git a/Makefile b/Makefile
index ca1e195..ebf8c7c 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,7 @@ install-backend-dependencies:
 
 install-frontend-dependencies:
 	sudo -E DEBIAN_FRONTEND=noninteractive apt -y install $(FRONTEND_PACKAGES)
+	npx playwright install
 .PHONY: install-frontend-dependencies
 
 
@@ -35,7 +36,7 @@ ci-build: # will run the frontend build targets
 ci-lint: ci-backend-lint ci-frontend-lint
 .PHONY: ci-lint
 
-ci-test: ci-backend-test ci-frontend-test
+ci-test: ci-backend-test ci-frontend-test ci-e2e-test
 .PHONY: ci-test
 
 
@@ -74,3 +75,6 @@ ci-frontend-test:
 	env -C frontend VITEST_JUNIT_SUITE_NAME='maas-site-manager frontend tests' yarnpkg run test --silent --reporter=junit --reporter=default --outputFile.junit=../junit-frontend.xml run
 .PHONY: ci-test
 
+ci-e2e-test:
+	env -C frontend PLAYWRIGHT_JUNIT_OUTPUT_NAME=../junit-e2e.xml npx playwright test --reporter=junit
+.PHONY: ci-test

Follow ups