Repository navigation
test(app): replace jest.Mock casts with jest.mocked #17325
main.yml
on: pull_request
Matrix: e2e-tests / e2e-tests
Matrix: integration-shards
lint
2m 11s
unit
5m 0s
otel-unit-test
9s
otel-smoke-test
8s
ClickHouse Bundle Build
3m 39s
End-to-End Tests
10s
integration
2s
Annotations
11 errors, 5 warnings, and 4 notices
|
[chromium] › tests/e2e/features/materialized-views.spec.ts:57:9 › Materialized View Acceleration › MV indicator and chart data show on saved dashboard tile @full-stack @dashboard:
packages/app/tests/e2e/page-objects/DashboardPage.ts#L289
2) [chromium] › tests/e2e/features/materialized-views.spec.ts:57:9 › Materialized View Acceleration › MV indicator and chart data show on saved dashboard tile @full-stack @dashboard
Error: expect(page).toHaveTitle(expected) failed
Expected pattern: /^MV Tile Test 1795273039317 - /
Received string: "My New Dashboard - ClickStack"
Timeout: 10000ms
Call log:
- Expect "toHaveTitle" with timeout 10000ms
14 × unexpected value "My New Dashboard - ClickStack"
at page-objects/DashboardPage.ts:289
287 | // once the rename has persisted.
288 | const escaped = newName.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
> 289 | await expect(this.page).toHaveTitle(new RegExp(`^${escaped} - `), {
| ^
290 | timeout: 10000,
291 | });
292 | }
at DashboardPage.renameDashboard (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:289:29)
at DashboardPage.editDashboardName (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:271:5)
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/materialized-views.spec.ts:67:7
|
|
[chromium] › tests/e2e/features/heatmap-series.spec.ts:96:7 › Heatmap modes › series heatmap with a group by renders and persists @full-stack @dashboard:
packages/app/tests/e2e/page-objects/DashboardPage.ts#L289
1) [chromium] › tests/e2e/features/heatmap-series.spec.ts:96:7 › Heatmap modes › series heatmap with a group by renders and persists @full-stack @dashboard › Create a series heatmap on the log source
Error: expect(page).toHaveTitle(expected) failed
Expected pattern: /^E2E Series Heatmap 1795273012948 - /
Received string: "My New Dashboard - ClickStack"
Timeout: 10000ms
Call log:
- Expect "toHaveTitle" with timeout 10000ms
14 × unexpected value "My New Dashboard - ClickStack"
at page-objects/DashboardPage.ts:289
287 | // once the rename has persisted.
288 | const escaped = newName.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
> 289 | await expect(this.page).toHaveTitle(new RegExp(`^${escaped} - `), {
| ^
290 | timeout: 10000,
291 | });
292 | }
at DashboardPage.renameDashboard (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:289:29)
at DashboardPage.editDashboardName (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:271:5)
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/heatmap-series.spec.ts:122:7
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/heatmap-series.spec.ts:119:5
|
|
[chromium] › tests/e2e/features/dashboard-adhoc-click-filters.spec.ts:49:9 › Ad hoc dashboard filters: click to filter › search tile cells update every ad hoc filter on the source @dashboard @full-stack:
packages/app/tests/e2e/utils/filters-param.ts#L43
3) [chromium] › tests/e2e/features/dashboard-adhoc-click-filters.spec.ts:49:9 › Ad hoc dashboard filters: click to filter › search tile cells update every ad hoc filter on the source @dashboard @full-stack › Including a value twice toggles it off
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
@@ -7,11 +7,11 @@
"value": "accounting",
},
Object {
"key": "ServiceName",
"operator": "=",
- "value": "frontend",
+ "value": "k8s-events",
},
],
"name": "Conditions",
"type": "adhoc",
},
@@ -23,11 +23,11 @@
"value": "accounting",
},
Object {
"key": "ServiceName",
"operator": "=",
- "value": "frontend",
+ "value": "k8s-events",
},
],
"name": "More",
"type": "adhoc",
},
Call Log:
- Timeout 10000ms exceeded while waiting on the predicate
at utils/filters-param.ts:43
41 | await expect(async () => {
42 | expect(filtersParam(page)).toEqual(expected);
> 43 | }).toPass({ timeout: 10000 });
| ^
44 | };
45 |
46 | /** Navigate to a dashboard with a hand-written `filters=` param. */
at expectFiltersParam (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/utils/filters-param.ts:43:6)
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/dashboard-adhoc-click-filters.spec.ts:108:33
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/dashboard-adhoc-click-filters.spec.ts:106:7
|
|
[chromium] › tests/e2e/features/chart-explorer.spec.ts:56:7 › Chart Explorer Functionality › should limit the number of bars on a categorical bar chart @charts:
packages/app/tests/e2e/features/chart-explorer.spec.ts#L79
2) [chromium] › tests/e2e/features/chart-explorer.spec.ts:56:7 › Chart Explorer Functionality › should limit the number of bars on a categorical bar chart @charts › Verify the unrestricted chart renders more bars than the limit we will apply
Error: expect(received).toBeGreaterThan(expected)
Expected: > 3
Received: 1
77 | await test.step('Verify the unrestricted chart renders more bars than the limit we will apply', async () => {
78 | totalBars = await chartExplorerPage.getBars().count();
> 79 | expect(totalBars).toBeGreaterThan(3);
| ^
80 | });
81 |
82 | await test.step('Apply a series limit of 3', async () => {
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/chart-explorer.spec.ts:79:25
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/chart-explorer.spec.ts:77:5
|
|
[chromium] › tests/e2e/features/alerts.spec.ts:631:7 › Alert Creation › should create a between-threshold alert from a dashboard tile and verify on the alerts page @alerts @full-stack @full-stack:
packages/app/tests/e2e/components/ChartEditorComponent.ts#L945
1) [chromium] › tests/e2e/features/alerts.spec.ts:631:7 › Alert Creation › should create a between-threshold alert from a dashboard tile and verify on the alerts page @alerts @full-stack @full-stack › Save the tile with the alert configured
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByTestId('chart-save-button') to be hidden
25 × locator resolved to visible <button type="button" data-variant="primary" data-testid="chart-save-button" class="mantine-focus-auto mantine-active m_77c9d27d mantine-Button-root m_87cf2631 mantine-UnstyledButton-root">…</button>
at components/ChartEditorComponent.ts:945
943 | await this.saveButton.click();
944 | // The modal closes once the dashboard mutation resolves.
> 945 | await this.saveButton.waitFor({ state: 'hidden', timeout: 10000 });
| ^
946 | }
947 |
948 | /**
at ChartEditorComponent.save (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/components/ChartEditorComponent.ts:945:27)
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/alerts.spec.ts:683:9
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/alerts.spec.ts:682:7
|
|
[chromium] › tests/e2e/features/dashboard.spec.ts:48:7 › Dashboard › should persist dashboard across page reloads @dashboard:
packages/app/tests/e2e/page-objects/DashboardPage.ts#L289
6) [chromium] › tests/e2e/features/dashboard.spec.ts:48:7 › Dashboard › should persist dashboard across page reloads @dashboard › Create and name a new dashboard
Error: expect(page).toHaveTitle(expected) failed
Expected pattern: /^Test Dashboard 1795273170202 - /
Received string: "My New Dashboard - ClickStack"
Timeout: 10000ms
Call log:
- Expect "toHaveTitle" with timeout 10000ms
14 × unexpected value "My New Dashboard - ClickStack"
at page-objects/DashboardPage.ts:289
287 | // once the rename has persisted.
288 | const escaped = newName.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
> 289 | await expect(this.page).toHaveTitle(new RegExp(`^${escaped} - `), {
| ^
290 | timeout: 10000,
291 | });
292 | }
at DashboardPage.renameDashboard (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:289:29)
at DashboardPage.editDashboardName (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:271:5)
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/dashboard.spec.ts:57:7
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/dashboard.spec.ts:51:5
|
|
[chromium] › tests/e2e/features/dashboard-template-import.spec.ts:447:7 › Dashboard Template Import › should map tile onClick dashboard to the selected dashboard id on import @dashboard @full-stack:
packages/app/tests/e2e/page-objects/DashboardPage.ts#L289
5) [chromium] › tests/e2e/features/dashboard-template-import.spec.ts:447:7 › Dashboard Template Import › should map tile onClick dashboard to the selected dashboard id on import @dashboard @full-stack › Create a target dashboard for the onClick link
Error: expect(page).toHaveTitle(expected) failed
Expected pattern: /^E2E OnClick Target 1795273150809 - /
Received string: "My New Dashboard - ClickStack"
Timeout: 10000ms
Call log:
- Expect "toHaveTitle" with timeout 10000ms
14 × unexpected value "My New Dashboard - ClickStack"
at page-objects/DashboardPage.ts:289
287 | // once the rename has persisted.
288 | const escaped = newName.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
> 289 | await expect(this.page).toHaveTitle(new RegExp(`^${escaped} - `), {
| ^
290 | timeout: 10000,
291 | });
292 | }
at DashboardPage.renameDashboard (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:289:29)
at DashboardPage.editDashboardName (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:271:5)
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/dashboard-template-import.spec.ts:462:9
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/dashboard-template-import.spec.ts:459:7
|
|
[chromium] › tests/e2e/features/dashboard-table-linking.spec.ts:764:9 › Dashboard Table Linking › Dashboard mode: ignored-filter warning banner is dismissable @dashboard @full-stack:
packages/app/tests/e2e/page-objects/DashboardPage.ts#L289
4) [chromium] › tests/e2e/features/dashboard-table-linking.spec.ts:764:9 › Dashboard Table Linking › Dashboard mode: ignored-filter warning banner is dismissable @dashboard @full-stack › Create the target dashboard with NO declared filters
Error: expect(page).toHaveTitle(expected) failed
Expected pattern: /^E2E Orphan Filter Target 1795273139628 - /
Received string: "My New Dashboard - ClickStack"
Timeout: 10000ms
Call log:
- Expect "toHaveTitle" with timeout 10000ms
14 × unexpected value "My New Dashboard - ClickStack"
at page-objects/DashboardPage.ts:289
287 | // once the rename has persisted.
288 | const escaped = newName.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
> 289 | await expect(this.page).toHaveTitle(new RegExp(`^${escaped} - `), {
| ^
290 | timeout: 10000,
291 | });
292 | }
at DashboardPage.renameDashboard (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:289:29)
at DashboardPage.editDashboardName (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:271:5)
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/dashboard-table-linking.spec.ts:773:9
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/dashboard-table-linking.spec.ts:771:7
|
|
[chromium] › tests/e2e/features/dashboard-table-linking.spec.ts:583:9 › Dashboard Table Linking › Dashboard mode: filter templates render into the destination dashboard URL filters param @dashboard @full-stack:
packages/app/tests/e2e/page-objects/DashboardPage.ts#L289
3) [chromium] › tests/e2e/features/dashboard-table-linking.spec.ts:583:9 › Dashboard Table Linking › Dashboard mode: filter templates render into the destination dashboard URL filters param @dashboard @full-stack › Create the target dashboard with a declared filter matching ServiceName
Error: expect(page).toHaveTitle(expected) failed
Expected pattern: /^E2E Filter Target 1795273130275 - /
Received string: "My New Dashboard - ClickStack"
Timeout: 10000ms
Call log:
- Expect "toHaveTitle" with timeout 10000ms
14 × unexpected value "My New Dashboard - ClickStack"
at page-objects/DashboardPage.ts:289
287 | // once the rename has persisted.
288 | const escaped = newName.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
> 289 | await expect(this.page).toHaveTitle(new RegExp(`^${escaped} - `), {
| ^
290 | timeout: 10000,
291 | });
292 | }
at DashboardPage.renameDashboard (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:289:29)
at DashboardPage.editDashboardName (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:271:5)
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/dashboard-table-linking.spec.ts:592:9
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/dashboard-table-linking.spec.ts:590:7
|
|
[chromium] › tests/e2e/features/dashboard-table-linking.spec.ts:339:9 › Dashboard Table Linking › Dashboard mode: WHERE template referencing unknown column shows Link error @dashboard @full-stack:
packages/app/tests/e2e/page-objects/DashboardPage.ts#L289
2) [chromium] › tests/e2e/features/dashboard-table-linking.spec.ts:339:9 › Dashboard Table Linking › Dashboard mode: WHERE template referencing unknown column shows Link error @dashboard @full-stack › Create a valid target dashboard
Error: expect(page).toHaveTitle(expected) failed
Expected pattern: /^E2E Target Dashboard Column 1795273120688 - /
Received string: "My New Dashboard - ClickStack"
Timeout: 10000ms
Call log:
- Expect "toHaveTitle" with timeout 10000ms
14 × unexpected value "My New Dashboard - ClickStack"
at page-objects/DashboardPage.ts:289
287 | // once the rename has persisted.
288 | const escaped = newName.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
> 289 | await expect(this.page).toHaveTitle(new RegExp(`^${escaped} - `), {
| ^
290 | timeout: 10000,
291 | });
292 | }
at DashboardPage.renameDashboard (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:289:29)
at DashboardPage.editDashboardName (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:271:5)
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/dashboard-table-linking.spec.ts:345:9
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/dashboard-table-linking.spec.ts:343:7
|
|
[chromium] › tests/e2e/features/dashboard-table-linking.spec.ts:233:9 › Dashboard Table Linking › Dashboard mode: valid link navigates to target dashboard with rendered WHERE @dashboard @full-stack:
packages/app/tests/e2e/page-objects/DashboardPage.ts#L289
1) [chromium] › tests/e2e/features/dashboard-table-linking.spec.ts:233:9 › Dashboard Table Linking › Dashboard mode: valid link navigates to target dashboard with rendered WHERE @dashboard @full-stack › Create the target dashboard (must exist before opening drawer)
Error: expect(page).toHaveTitle(expected) failed
Expected pattern: /^E2E Target Dashboard 1795273120297 - /
Received string: "My New Dashboard - ClickStack"
Timeout: 10000ms
Call log:
- Expect "toHaveTitle" with timeout 10000ms
14 × unexpected value "My New Dashboard - ClickStack"
at page-objects/DashboardPage.ts:289
287 | // once the rename has persisted.
288 | const escaped = newName.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
> 289 | await expect(this.page).toHaveTitle(new RegExp(`^${escaped} - `), {
| ^
290 | timeout: 10000,
291 | });
292 | }
at DashboardPage.renameDashboard (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:289:29)
at DashboardPage.editDashboardName (/home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/page-objects/DashboardPage.ts:271:5)
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/dashboard-table-linking.spec.ts:242:9
at /home/runner/work/ClickStack/ClickStack/packages/app/tests/e2e/features/dashboard-table-linking.spec.ts:240:7
|
|
lint
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache/restore@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
e2e-tests / E2E Tests - Shard 3
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
e2e-tests / E2E Tests - Shard 1
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
e2e-tests / E2E Tests - Shard 4
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
e2e-tests / E2E Tests - Shard 2
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › tests/e2e/features/heatmap-series.spec.ts:96:7 › Heatmap modes › series heatmap with a group by renders and persists @full-stack @dashboard
[chromium] › tests/e2e/features/materialized-views.spec.ts:57:9 › Materialized View Acceleration › MV indicator and chart data show on saved dashboard tile @full-stack @dashboard
119 passed (4.6m)
|
|
🎭 Playwright Run Summary
3 flaky
[chromium] › tests/e2e/features/alerts.spec.ts:631:7 › Alert Creation › should create a between-threshold alert from a dashboard tile and verify on the alerts page @alerts @full-stack @full-stack
[chromium] › tests/e2e/features/chart-explorer.spec.ts:56:7 › Chart Explorer Functionality › should limit the number of bars on a categorical bar chart @charts
[chromium] › tests/e2e/features/dashboard-adhoc-click-filters.spec.ts:49:9 › Ad hoc dashboard filters: click to filter › search tile cells update every ad hoc filter on the source @dashboard @full-stack
119 passed (4.5m)
|
|
🎭 Playwright Run Summary
1 skipped
120 passed (4.4m)
|
|
🎭 Playwright Run Summary
6 flaky
[chromium] › tests/e2e/features/dashboard-table-linking.spec.ts:233:9 › Dashboard Table Linking › Dashboard mode: valid link navigates to target dashboard with rendered WHERE @dashboard @full-stack
[chromium] › tests/e2e/features/dashboard-table-linking.spec.ts:339:9 › Dashboard Table Linking › Dashboard mode: WHERE template referencing unknown column shows Link error @dashboard @full-stack
[chromium] › tests/e2e/features/dashboard-table-linking.spec.ts:583:9 › Dashboard Table Linking › Dashboard mode: filter templates render into the destination dashboard URL filters param @dashboard @full-stack
[chromium] › tests/e2e/features/dashboard-table-linking.spec.ts:764:9 › Dashboard Table Linking › Dashboard mode: ignored-filter warning banner is dismissable @dashboard @full-stack
[chromium] › tests/e2e/features/dashboard-template-import.spec.ts:447:7 › Dashboard Template Import › should map tile onClick dashboard to the selected dashboard id on import @dashboard @full-stack
[chromium] › tests/e2e/features/dashboard.spec.ts:48:7 › Dashboard › should persist dashboard across page reloads @dashboard
115 passed (4.5m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report-1
|
25 MB |
sha256:1cf52c264c3cd38919e4877e1fa894037faf51eb60144b0783de29b237b951ca
|
|
|
playwright-report-2
|
44.1 MB |
sha256:c514122ed6bc192149bbd249b95c31b5f1cf0ec4a0545809c6e929f999640f56
|
|
|
playwright-report-3
|
12.7 MB |
sha256:28d5241aacfc8244412fbf074ae3dfb9786008924a32fab4588a8f6da9218c99
|
|
|
playwright-report-4
|
395 KB |
sha256:2715f6a87f223231799ade41280ebc539608d2af22ace288a3e67e2c672ecaa8
|
|
|
test-results-1
|
24.1 MB |
sha256:e055758b998d331051d53c55c632ad5321dd04f8d547902ef790193077eb147d
|
|
|
test-results-2
|
43.2 MB |
sha256:83616f4cbd2227894b052a0b9f343a793ff6d545ab60ce73fc79924184755fc0
|
|
|
test-results-3
|
11.8 MB |
sha256:edb80c4a2e0b992533b024f1b4695db5ec41c69276aee43c7e92dda0c836e2b0
|
|
|
test-results-4
|
44.4 KB |
sha256:f1fdb0682c9de600c6edf2345b5e07ba68038ff434e625d31e759891d7a34030
|
|