Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Platane committed Mar 16, 2024
1 parent 41b5244 commit b269935
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/recuring-live-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# if: github.event_name == 'schedule'
run: |
BODY="🚨 e2e test failed [report](${{ needs.e2e.outputs.report_url }}) [run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) [app](${{ inputs.app_url || 'https://timezone.rocks' }})"
gh issue comment 15 --body "$BODY"
gh issue create --body "$BODY" --assignee @platane --label bug --title "🚨 e2e test failed"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
4 changes: 4 additions & 0 deletions packages/e2e/tests/app.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ test("Should load timezone lines", async ({ page }) => {
await expect(page.getByRole("listitem")).toHaveCount(1);
});

test("Should crash", () => {
throw new Error("no");

Check failure on line 12 in packages/e2e/tests/app.spec.ts

View workflow job for this annotation

GitHub Actions / e2e / e2e (chromium, 1)

[chromium] β€Ί app.spec.ts:11:5 β€Ί Should crash

1) [chromium] β€Ί app.spec.ts:11:5 β€Ί Should crash ────────────────────────────────────────────────── Error: no 10 | 11 | test("Should crash", () => { > 12 | throw new Error("no"); | ^ 13 | }); 14 | 15 | test("Should load 3d globe", async ({ page, browserName }) => { at /home/runner/work/timezone-rocks/timezone-rocks/packages/e2e/tests/app.spec.ts:12:9

Check failure on line 12 in packages/e2e/tests/app.spec.ts

View workflow job for this annotation

GitHub Actions / e2e / e2e (chromium, 1)

[chromium] β€Ί app.spec.ts:11:5 β€Ί Should crash

1) [chromium] β€Ί app.spec.ts:11:5 β€Ί Should crash ────────────────────────────────────────────────── Error: no 10 | 11 | test("Should crash", () => { > 12 | throw new Error("no"); | ^ 13 | }); 14 | 15 | test("Should load 3d globe", async ({ page, browserName }) => { at /home/runner/work/timezone-rocks/timezone-rocks/packages/e2e/tests/app.spec.ts:12:9
});

test("Should load 3d globe", async ({ page, browserName }) => {
page.on("console", (msg) => console.log(msg.text()));

Expand Down

1 comment on commit b269935

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.