fix: update UI strings for improved CTAs, grammar fixes, and consiste… #1082
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: Test e2e | |
| on: | |
| push: | |
| branches-ignore: master | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| e2e: | |
| name: Playwright E2E tests | |
| env: | |
| DOCKER_FILE: docker-compose.ci.yml | |
| strategy: | |
| fail-fast: false | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "18" | |
| cache: "npm" | |
| - name: Install npm deps | |
| run: | | |
| npm ci | |
| npm run gutenberg:build | |
| npm run chartbuilder:build | |
| npm run d3renderer:build | |
| npm install -g playwright-cli | |
| npx playwright install --with-deps chromium | |
| - name: Install composer deps | |
| run: composer install --no-dev | |
| - name: Install environment | |
| run: | | |
| npm run env:up | |
| - name: Run the tests | |
| run: | | |
| npm run test:e2e:playwright | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} | |
| - name: Archive test results | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: e2e-playwright-results | |
| path: artifacts | |
| retention-days: 1 | |
| if-no-files-found: ignore |