File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 73
73
docker load --input /tmp/frontend/frontend-image.tar
74
74
75
75
- name : Install Cypress
76
- run : npm i @plone/volto-testing
76
+ run :
npm i @plone/volto-testing @testing-library/[email protected]
77
77
78
78
- name : Cypress acceptance tests
79
79
uses : cypress-io/github-action@v4
Original file line number Diff line number Diff line change @@ -146,3 +146,18 @@ run-acceptance-tests: ## Run Acceptance tests
146
146
npx wait-on --httpTimeout 20000 http-get://localhost:55001/plone http://localhost:3000
147
147
$(MAKE ) -C " ./frontend/" test-acceptance-headless
148
148
$(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
You can’t perform that action at this time.
0 commit comments