Skip to content

Commit

Permalink
F*ck it
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Mar 20, 2024
1 parent e755461 commit 38df72d
Showing 1 changed file with 21 additions and 16 deletions.
37 changes: 21 additions & 16 deletions .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,27 @@ jobs:
working-directory: core/packages/volto
run: make cypress-install

- name: "Cypress: Acceptance tests"
uses: cypress-io/github-action@v6
env:
BABEL_ENV: production
CYPRESS_RETRIES: 2
with:
# working-directory: core/packages/volto
# project: ../../../.
# config-file: ../../../cypress.config.js
browser: chrome
spec: cypress/tests/**/*.{js,jsx,ts,tsx}
install: false
start: |
make start-test-acceptance-server-ci
make start-test-acceptance-frontend
wait-on: 'npx wait-on --httpTimeout 20000 http-get://localhost:55001/plone http://localhost:3000'
run: nohup make start-test-acceptance-server-ci &
run: nohup make start-test-acceptance-frontend &
run: pnpm --filter @plone/volto exec wait-on --httpTimeout 20000 http-get://localhost:55001/plone http://localhost:3000
run: make test-acceptance-headless

# - name: "Cypress: Acceptance tests"
# uses: cypress-io/github-action@v6
# env:
# BABEL_ENV: production
# CYPRESS_RETRIES: 2
# with:
# # working-directory: core/packages/volto
# # project: ../../../.
# # config-file: ../../../cypress.config.js
# browser: chrome
# spec: cypress/tests/**/*.{js,jsx,ts,tsx}
# install: false
# start: |
# make start-test-acceptance-server-ci
# make start-test-acceptance-frontend
# wait-on: 'npx wait-on --httpTimeout 20000 http-get://localhost:55001/plone http://localhost:3000'

# Upload Cypress screenshots
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 38df72d

Please sign in to comment.