Playwright test for bold, italics and striketrough toolbar options. #32876
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: | |
| seven: | |
| 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: Seven | |
| timeout-minutes: 45 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/acceptance_tests_node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - uses: JarvusInnovations/background-action@v1 | |
| name: Start Servers - Plone 7 frontend and backend | |
| with: | |
| run: | | |
| make ci-acceptance-backend-start & | |
| make acceptance-frontend-prod-start & | |
| wait-on: | | |
| http-get://localhost:55001/plone | |
| http://localhost:3000 | |
| tail: true # true = stderr,stdout | |
| log-output-resume: stderr | |
| wait-for: 10m | |
| log-output: stderr,stdout # same as true | |
| log-output-if: failure | |
| - name: Run Playwright Acceptance Tests | |
| shell: bash | |
| run: pnpm exec playwright test --reporter=list,html | |
| - uses: actions/upload-artifact@v4 | |
| if: ${{ !cancelled() }} | |
| with: | |
| name: playwright-report | |
| path: playwright-report/ | |
| retention-days: 15 |