fix: Calculate plan preview end time #27653
default.yml
on: pull_request
Clean
1m 14s
Build
50s
Test
53s
Lint
50s
UI
1m 28s
Integration
3m 17s
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
|
|