Skip to content

fix: Calculate plan preview end time #27653

fix: Calculate plan preview end time

fix: Calculate plan preview end time #27653

Triggered via pull request November 15, 2025 00:34
Status Failure
Total duration 3m 19s
Artifacts 1

default.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 notice
UI
Process completed with exit code 2.
js/components/ChargingPlans/Preview.test.ts > basics > should return 39 slots: assets/js/components/ChargingPlans/Preview.test.ts#L43
AssertionError: expected 1012 to equal 192 - Expected + Received - 192 + 1012 ❯ js/components/ChargingPlans/Preview.test.ts:43:27
[chromium] β€Ί tests/plan.spec.ts:460:3 β€Ί repeating β€Ί preview static and repeating plan: tests/plan.spec.ts#L479
1) [chromium] β€Ί tests/plan.spec.ts:460:3 β€Ί repeating β€Ί preview static and repeating plan ───────── Error: expect(locator).toContainText(expected) failed Locator: getByTestId('charging-plan-modal').getByTestId('target-text') Expected substring: "09:00" Timeout: 5000ms Error: element(s) not found Call log: - Expect "toContainText" with timeout 5000ms - waiting for getByTestId('charging-plan-modal').getByTestId('target-text') 477 | 478 | await expect(modal.getByTestId("plan-preview-title")).toHaveText("Preview plan"); > 479 | await expect(modal.getByTestId("target-text")).toContainText("09:00"); | ^ 480 | 481 | // add repeating plan 482 | await modal.getByRole("button", { name: "Add repeating plan" }).click(); at /home/runner/work/evcc/evcc/tests/plan.spec.ts:479:52
🎭 Playwright Run Summary
1 flaky [chromium] β€Ί tests/plan.spec.ts:460:3 β€Ί repeating β€Ί preview static and repeating plan ────────── 1 skipped 185 passed (1.8m)

Artifacts

Produced during runtime
Name Size Digest
playwright-report Expired
4.52 MB
sha256:233c1bda10645b4432d1efb3f8cadf6e74491bf6bef1781367a94231e40a1d5a