chore: bump @wireapp/telemetry from 0.3.7 to 0.3.10 #9184
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: Playwright Critical Flow Tests | |
| #on: | |
| # pull_request: | |
| # # we want to run the CI on every PR targetting those branches | |
| # branches: [dev] | |
| jobs: | |
| smoke-tests: | |
| name: Run Playwright Critical Flow Tests | |
| if: github.repository == 'wireapp/wire-webapp' | |
| runs-on: [self-hosted, Linux, X64, office] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Install JS dependencies | |
| run: yarn --immutable | |
| - name: Install Playwright browsers | |
| run: yarn playwright install --with-deps && yarn playwright install chrome | |
| - name: Install 1Password | |
| uses: 1password/install-cli-action@v1 | |
| - name: Generate env file | |
| run: op inject -i apps/webapp/test/e2e_tests/.env.staging.tpl -o apps/webapp/test/e2e_tests/.env | |
| env: | |
| OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} | |
| - name: Run critical flow tests | |
| run: yarn nx run webapp:e2e --grep "@crit-flow-web" | |
| - name: Upload test report | |
| if: always() | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: playwright-report | |
| path: playwright-report/ | |
| - name: Generate PR comment | |
| if: always() | |
| id: generate_comment | |
| run: | | |
| node --experimental-strip-types apps/webapp/test/e2e_tests/scripts/create-playwright-report-summary.ts | |
| COMMENT=$(cat playwright-report-summary.txt) | |
| echo "comment<<EOF" >> $GITHUB_OUTPUT | |
| echo "$COMMENT" >> $GITHUB_OUTPUT | |
| echo "EOF" >> $GITHUB_OUTPUT | |
| - name: Comment on PR | |
| if: always() | |
| uses: marocchino/sticky-pull-request-comment@v2 | |
| with: | |
| header: playwright-summary | |
| message: | | |
| 🔗 [Download Full Report Artifact](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) | |
| ${{ steps.generate_comment.outputs.comment }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |