diff --git a/.github/workflows/recuring-live-test.yml b/.github/workflows/recuring-live-test.yml index 0d18233..82f8e21 100644 --- a/.github/workflows/recuring-live-test.yml +++ b/.github/workflows/recuring-live-test.yml @@ -32,7 +32,7 @@ jobs: - uses: oven-sh/setup-bun@v1 - - run: FORCE_COLOR=false bunx playwright merge-reports --reporter line blob-report | tee report.txt + - run: bunx playwright merge-reports --reporter line blob-report | tee report.txt - run: echo failed=`cat report.txt | grep failed` >> "$GITHUB_OUTPUT" id: status @@ -44,15 +44,13 @@ jobs: bunx playwright merge-reports --reporter html blob-report bunx wrangler pages deploy playwright-report --project-name=timezone-rocks | tee deploy_out.txt URL=`cat deploy_out.txt | grep -Eo "https://[^ ]*"` - echo $URL echo url=$URL >> "$GITHUB_OUTPUT" env: CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_PUBLISH_TOKEN }} - name: Leave comment with the report - if: steps.status.outputs.failed - # if: steps.status.outputs.failed && github.event_name == 'schedule' + if: steps.status.outputs.failed && github.event_name == 'schedule' run: | echo "🚨 e2e test failed [report](${{ steps.report-upload.outputs.url }}) [run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) [app](${{ inputs.app_url || 'https://timezone.rocks' }})" >> body.txt echo "\`\`\`" >> body.txt diff --git a/packages/e2e/tests/app.spec.ts b/packages/e2e/tests/app.spec.ts index 32f98ab..579e945 100644 --- a/packages/e2e/tests/app.spec.ts +++ b/packages/e2e/tests/app.spec.ts @@ -9,8 +9,6 @@ test("Should load timezone lines", async ({ page }) => { }); test("Should load 3d globe", async ({ page, browserName }) => { - throw new Error(""); - page.on("console", (msg) => console.log(msg.text())); await page.goto("/");