fix: use Array.at(-1) to extract repo name from URL #515
Annotations
10 errors, 1 warning, and 1 notice
|
Run Playwright tests:
e2e/dashboard-widgets.spec.js#L0
3) [chromium] › dashboard-widgets.spec.js:145:5 › goal form posts a new goal ─────────────────────
Test timeout of 30000ms exceeded.
|
|
Run Playwright tests:
e2e/dashboard-widgets.spec.js#L140
2) [chromium] › dashboard-widgets.spec.js:131:5 › contribution graph range buttons request a new range
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Show 90-day range' })
138 |
139 | await page.goto("/dashboard");
> 140 | await page.getByRole("button", { name: "Show 90-day range" }).click();
| ^
141 |
142 | await expect.poll(() => contributionRequests.some((url) => url.includes("days=90"))).toBe(true);
143 | });
at /home/runner/work/devtrack/devtrack/e2e/dashboard-widgets.spec.js:140:65
|
|
Run Playwright tests:
e2e/dashboard-widgets.spec.js#L0
2) [chromium] › dashboard-widgets.spec.js:131:5 › contribution graph range buttons request a new range
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
Run Playwright tests:
e2e/dashboard-widgets.spec.js#L140
2) [chromium] › dashboard-widgets.spec.js:131:5 › contribution graph range buttons request a new range
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Show 90-day range' })
138 |
139 | await page.goto("/dashboard");
> 140 | await page.getByRole("button", { name: "Show 90-day range" }).click();
| ^
141 |
142 | await expect.poll(() => contributionRequests.some((url) => url.includes("days=90"))).toBe(true);
143 | });
at /home/runner/work/devtrack/devtrack/e2e/dashboard-widgets.spec.js:140:65
|
|
Run Playwright tests:
e2e/dashboard-widgets.spec.js#L0
2) [chromium] › dashboard-widgets.spec.js:131:5 › contribution graph range buttons request a new range
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
Run Playwright tests:
e2e/dashboard-widgets.spec.js#L140
2) [chromium] › dashboard-widgets.spec.js:131:5 › contribution graph range buttons request a new range
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Show 90-day range' })
138 |
139 | await page.goto("/dashboard");
> 140 | await page.getByRole("button", { name: "Show 90-day range" }).click();
| ^
141 |
142 | await expect.poll(() => contributionRequests.some((url) => url.includes("days=90"))).toBe(true);
143 | });
at /home/runner/work/devtrack/devtrack/e2e/dashboard-widgets.spec.js:140:65
|
|
Run Playwright tests:
e2e/dashboard-widgets.spec.js#L0
2) [chromium] › dashboard-widgets.spec.js:131:5 › contribution graph range buttons request a new range
Test timeout of 30000ms exceeded.
|
|
Run Playwright tests:
e2e/dashboard-widgets.spec.js#L124
1) [chromium] › dashboard-widgets.spec.js:121:5 › dashboard widgets render with mocked metrics ───
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 8000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Dashboard' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 8000ms
- waiting for getByRole('heading', { name: 'Dashboard' })
122 | await page.goto("/dashboard");
123 |
> 124 | await expect(page.getByRole("heading", { name: "Dashboard" })).toBeVisible();
| ^
125 | await expect(page.getByRole("heading", { name: "Your Commits" })).toBeVisible();
126 | await expect(page.getByRole("heading", { name: "PR Analytics" })).toBeVisible();
127 | await expect(page.getByRole("heading", { name: "Weekly Goals" })).toBeVisible();
at /home/runner/work/devtrack/devtrack/e2e/dashboard-widgets.spec.js:124:66
|
|
Run Playwright tests:
e2e/dashboard-widgets.spec.js#L124
1) [chromium] › dashboard-widgets.spec.js:121:5 › dashboard widgets render with mocked metrics ───
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 8000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Dashboard' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 8000ms
- waiting for getByRole('heading', { name: 'Dashboard' })
122 | await page.goto("/dashboard");
123 |
> 124 | await expect(page.getByRole("heading", { name: "Dashboard" })).toBeVisible();
| ^
125 | await expect(page.getByRole("heading", { name: "Your Commits" })).toBeVisible();
126 | await expect(page.getByRole("heading", { name: "PR Analytics" })).toBeVisible();
127 | await expect(page.getByRole("heading", { name: "Weekly Goals" })).toBeVisible();
at /home/runner/work/devtrack/devtrack/e2e/dashboard-widgets.spec.js:124:66
|
|
Run Playwright tests:
e2e/dashboard-widgets.spec.js#L124
1) [chromium] › dashboard-widgets.spec.js:121:5 › dashboard widgets render with mocked metrics ───
Error: Timed out 8000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Dashboard' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 8000ms
- waiting for getByRole('heading', { name: 'Dashboard' })
122 | await page.goto("/dashboard");
123 |
> 124 | await expect(page.getByRole("heading", { name: "Dashboard" })).toBeVisible();
| ^
125 | await expect(page.getByRole("heading", { name: "Your Commits" })).toBeVisible();
126 | await expect(page.getByRole("heading", { name: "PR Analytics" })).toBeVisible();
127 | await expect(page.getByRole("heading", { name: "Weekly Goals" })).toBeVisible();
at /home/runner/work/devtrack/devtrack/e2e/dashboard-widgets.spec.js:124:66
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run Playwright tests
3 failed
[chromium] › dashboard-widgets.spec.js:121:5 › dashboard widgets render with mocked metrics ────
[chromium] › dashboard-widgets.spec.js:131:5 › contribution graph range buttons request a new range
[chromium] › dashboard-widgets.spec.js:145:5 › goal form posts a new goal ──────────────────────
3 passed (2.4m)
|
background
wait
wait-all
cancel
Loading