Skip to content

Commit e3f2338

Browse files
committed
Fix build, because of the Nullish coalescing operator bug in @testing-library/[email protected]
1 parent 7dddb73 commit e3f2338

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/acceptance.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
docker load --input /tmp/frontend/frontend-image.tar
7474
7575
- name: Install Cypress
76-
run: npm i @plone/volto-testing
76+
run: npm i @plone/volto-testing @testing-library/[email protected]
7777

7878
- name: Cypress acceptance tests
7979
uses: cypress-io/github-action@v4

Makefile

+15
Original file line numberDiff line numberDiff line change
@@ -146,3 +146,18 @@ run-acceptance-tests: ## Run Acceptance tests
146146
npx wait-on --httpTimeout 20000 http-get://localhost:55001/plone http://localhost:3000
147147
$(MAKE) -C "./frontend/" test-acceptance-headless
148148
$(MAKE) stop-acceptance-servers
149+
150+
.PHONY: start-test-acceptance-frontend
151+
start-test-acceptance-frontend: ## Start the Core Acceptance Frontend Fixture in dev mode
152+
@echo "Start Frontend pointing to Cypress fixture in dev mode"
153+
cd frontend && RAZZLE_API_PATH=http://localhost:55001/plone yarn start
154+
155+
.PHONY: start-acceptance-server
156+
start-acceptance-server: ## Start Acceptance Servers
157+
@echo "Start acceptance backend"
158+
@docker run --rm -p 55001:55001 --name ploneconf-backend-acceptance plone/ploneconf-backend:acceptance
159+
160+
.PHONY: test-acceptance
161+
test-acceptance: ## Start Core Cypress Acceptance Tests in dev mode
162+
@echo "Starting Cypress"
163+
$(MAKE) -C "./frontend/" test-acceptance

0 commit comments

Comments
 (0)