Skip to content

Commit 7447d92

Browse files
authored
test: enable ui e2e tests in the toolchain-e2e presubmit and periodic CI jobs (codeready-toolchain#1210)
* add test-e2e-with-ui * add Developer Sandbox UI clean * enable ui e2e tests * enable ui e2e tests * improve comment * requested changes
1 parent 53e9630 commit 7447d92

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

make/test.mk

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,19 @@ TESTS_RUN_FILTER_REGEXP ?= ""
4242
.PHONY: test-e2e
4343
## Run the e2e tests
4444
test-e2e: INSTALL_OPERATOR=true
45-
test-e2e: prepare-e2e verify-migration-and-deploy-e2e e2e-run-parallel e2e-run e2e-run-metrics
45+
test-e2e:
46+
$(MAKE) prepare-e2e verify-migration-and-deploy-e2e e2e-run-parallel e2e-run e2e-run-metrics
4647
@echo "The tests successfully finished"
4748
@echo "To clean the cluster run 'make clean-e2e-resources'"
49+
ifeq ($(CI),true)
50+
# if we are running on CI, we want to run the ui e2e tests in the toolchain-e2e presubmit and periodic CI jobs
51+
# if REPO_NAME is not set, it means that the e2e tests were triggered by the periodic CI job
52+
ifeq ($(filter-out toolchain-e2e,$(REPO_NAME)),)
53+
$(MAKE) test-ui-e2e
54+
@echo "UI E2E tests successfully finished"
55+
@echo "To clean the Developer Sandbox UI run 'make clean-sandbox-ui'"
56+
endif
57+
endif
4858

4959
.PHONY: test-e2e-without-migration
5060
## Run the e2e tests without migration tests

0 commit comments

Comments
 (0)