Replace generic "Please wait" loading copy with Tina-branded messagin… #742
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: e2e Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| playwright: | |
| name: 'Playwright E2E on Tests' | |
| runs-on: ubuntu-latest | |
| # Posts the Playwright report as a PR comment. | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9 | |
| id: pnpm-install | |
| with: | |
| package_json_file: package.json | |
| run_install: false | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build root package | |
| run: pnpm build | |
| - name: Install playwright | |
| working-directory: playwright/tina-playwright | |
| run: npx playwright install | |
| - name: Run Playwright tests | |
| working-directory: playwright/tina-playwright | |
| run: npx playwright test | |
| - name: Playwright report summary | |
| uses: daun/playwright-report-summary@8bb85779022480a59ed8d33d9a4b8bda1c67666b # v4.0.0 | |
| if: always() | |
| with: | |
| job-summary: true | |
| report-file: playwright/tina-playwright/playwright-test-results.json | |
| comment-title: 'Playwright E2E Test Results' |