Fix Cmd/Ctrl + backspace behaviour in slate blocks #29445
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Acceptance Tests | |
| on: [push, pull_request] | |
| jobs: | |
| core: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| name: Core Basic | |
| timeout-minutes: 45 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/core/basic/**/*.js | |
| start: | | |
| make ci-acceptance-backend-start | |
| make acceptance-frontend-prod-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://127.0.0.1:3000' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos | |
| path: packages/volto/cypress/videos | |
| corecontent: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| name: Core Content | |
| timeout-minutes: 45 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/core/content/**/*.js | |
| start: | | |
| make ci-acceptance-backend-start | |
| make acceptance-frontend-prod-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://127.0.0.1:3000' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos | |
| path: packages/volto/cypress/videos | |
| corecontrolpanels: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| name: Core Control Panels | |
| timeout-minutes: 45 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/core/controlpanels/**/*.js | |
| start: | | |
| make ci-acceptance-backend-start | |
| make acceptance-frontend-prod-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://127.0.0.1:3000' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos | |
| path: packages/volto/cypress/videos | |
| coreblocks: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| name: Core Blocks | |
| timeout-minutes: 35 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/core/blocks/*.js | |
| start: | | |
| make ci-acceptance-backend-start | |
| make acceptance-frontend-prod-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://127.0.0.1:3000' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos | |
| path: packages/volto/cypress/videos | |
| coreblockslisting: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| name: Core Blocks - Listing | |
| timeout-minutes: 35 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/core/blocks/listing/*.js | |
| start: | | |
| make ci-acceptance-backend-start | |
| make acceptance-frontend-prod-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://127.0.0.1:3000' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos | |
| path: packages/volto/cypress/videos | |
| corevoltoslate: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| name: Core Volto Slate | |
| timeout-minutes: 45 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/core/volto-slate/**/*.js | |
| start: | | |
| make ci-acceptance-backend-start | |
| make acceptance-frontend-prod-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://127.0.0.1:3000' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos | |
| path: packages/volto/cypress/videos | |
| coresandbox: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| name: Coresandbox | |
| timeout-minutes: 35 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress Coresandbox Acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/coresandbox/**/*.js | |
| start: | | |
| make coresandbox-acceptance-backend-start | |
| make coresandbox-acceptance-frontend-prod-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://127.0.0.1:3000' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos | |
| path: packages/volto/cypress/videos | |
| multilingual: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| name: Multilingual | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 35 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/multilingual/**/*.js | |
| start: | | |
| make multilingual-acceptance-backend-start | |
| make multilingual-acceptance-frontend-prod-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://127.0.0.1:3000' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos | |
| path: packages/volto/cypress/videos | |
| workingcopy: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| name: Working Copy | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 35 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22.x, 24.x] | |
| # python-version: [3.7] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/workingCopy/**/*.js | |
| start: | | |
| make working-copy-acceptance-backend-start | |
| make working-copy-acceptance-frontend-prod-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://127.0.0.1:3000' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos | |
| path: packages/volto/cypress/videos | |
| deployment: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| name: Deployment Mode | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 35 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/core/basic/**/*.js | |
| config: baseUrl=http://localhost | |
| start: | | |
| make ci-acceptance-backend-start | |
| make deployment-acceptance-frontend-prod-start | |
| make deployment-acceptance-web-server-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://127.0.0.1:3000 http://localhost' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos-seamless | |
| path: packages/volto/cypress/videos | |
| multilingual-deployment: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| name: Multilingual in Deployment Mode | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/multilingual/**/*.js | |
| config: baseUrl=http://localhost | |
| start: | | |
| make deployment-multilingual-acceptance-backend-start | |
| make deployment-multilingual-acceptance-frontend-prod-start | |
| make deployment-acceptance-web-server-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://127.0.0.1:3000 http://localhost' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos | |
| path: packages/volto/cypress/videos | |
| subpath-core: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| name: Core Basic Subpath Site | |
| timeout-minutes: 45 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/core/basic/**/*.js | |
| config: baseUrl=http://localhost/foo | |
| env: subpathPrefix=/foo | |
| start: | | |
| make ci-acceptance-backend-start | |
| make subpath-acceptance-frontend-prod-start | |
| make deployment-subpath-acceptance-web-server-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://localhost/foo' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots-subpath-core | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos-subpath-core | |
| path: packages/volto/cypress/videos | |
| subpath-corecontent: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| name: Core Content Subpath Site | |
| timeout-minutes: 45 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/core/content/**/*.js | |
| config: baseUrl=http://localhost/foo | |
| env: subpathPrefix=/foo | |
| start: | | |
| make ci-acceptance-backend-start | |
| make subpath-acceptance-frontend-prod-start | |
| make deployment-subpath-acceptance-web-server-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://localhost/foo' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots-subpath-corecontent | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos-subpath-corecontent | |
| path: packages/volto/cypress/videos | |
| subpath-corecontrolpanels: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| name: Core Control Panels Subpath Site | |
| timeout-minutes: 45 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/core/controlpanels/**/*.js | |
| config: baseUrl=http://localhost/foo | |
| env: subpathPrefix=/foo | |
| start: | | |
| make ci-acceptance-backend-start | |
| make subpath-acceptance-frontend-prod-start | |
| make deployment-subpath-acceptance-web-server-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://localhost/foo' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots-subpath-corecontrolpanels | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos-subpath-corecontrolpanels | |
| path: packages/volto/cypress/videos | |
| subpath-coreblocks: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| name: Core Blocks Subpath Site | |
| timeout-minutes: 35 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/core/blocks/*.js | |
| config: baseUrl=http://localhost/foo | |
| env: subpathPrefix=/foo | |
| start: | | |
| make ci-acceptance-backend-start | |
| make subpath-acceptance-frontend-prod-start | |
| make deployment-subpath-acceptance-web-server-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://localhost/foo' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots-subpath-coreblocks | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos-subpath-coreblocks | |
| path: packages/volto/cypress/videos | |
| subpath-coreblockslisting: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| name: Core Blocks - Listing Subpath Site | |
| timeout-minutes: 35 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/core/blocks/listing/*.js | |
| config: baseUrl=http://localhost/foo | |
| env: subpathPrefix=/foo | |
| start: | | |
| make ci-acceptance-backend-start | |
| make subpath-acceptance-frontend-prod-start | |
| make deployment-subpath-acceptance-web-server-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://localhost/foo' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots-subpath-coreblockslisting | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos-subpath-coreblockslisting | |
| path: packages/volto/cypress/videos | |
| subpath-corevoltoslate: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| name: Core Volto Slate Subpath Site | |
| timeout-minutes: 45 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/core/volto-slate/**/*.js | |
| config: baseUrl=http://localhost/foo | |
| env: subpathPrefix=/foo | |
| start: | | |
| make ci-acceptance-backend-start | |
| make subpath-acceptance-frontend-prod-start | |
| make deployment-subpath-acceptance-web-server-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://localhost/foo' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots-subpath-corevoltoslate | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos-subpath-corevoltoslate | |
| path: packages/volto/cypress/videos | |
| subpath-multilingual: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| name: Multilingual Subpath Site | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 35 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/multilingual/**/*.js | |
| config: baseUrl=http://localhost/foo | |
| env: subpathPrefix=/foo | |
| start: | | |
| make deployment-multilingual-acceptance-backend-start | |
| make subpath-multilingual-acceptance-frontend-prod-start | |
| make deployment-subpath-acceptance-web-server-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://localhost/foo' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots-subpath-multilingual | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos-subpath-multilingual | |
| path: packages/volto/cypress/videos | |
| subpath-workingcopy: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| name: Working Copy Subpath Site | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 35 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cypress acceptance tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| BABEL_ENV: production | |
| CYPRESS_RETRIES: 2 | |
| # Recommended: pass the GitHub token lets this action correctly | |
| # determine the unique run id necessary to re-run the checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| install: false | |
| working-directory: packages/volto | |
| browser: chrome | |
| spec: cypress/tests/workingCopy/**/*.js | |
| config: baseUrl=http://localhost/foo | |
| env: subpathPrefix=/foo | |
| start: | | |
| make working-copy-acceptance-backend-start | |
| make subpath-working-copy-acceptance-frontend-prod-start | |
| make deployment-subpath-acceptance-web-server-start | |
| wait-on: 'npx wait-on --httpTimeout 20000 http-get://127.0.0.1:55001/plone http://localhost/foo' | |
| # Upload Cypress screenshots | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-screenshots-subpath-workingcopy | |
| path: packages/volto/cypress/screenshots | |
| # Upload Cypress videos | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: cypress-videos-subpath-workingcopy | |
| path: packages/volto/cypress/videos |