Heating: add time-based energy statistics (today, 24h, 7d) to loadpoint tile #37832
default.yml
on: pull_request
Clean
3m 21s
Build
2m 43s
Test
2m 7s
Lint
3m 57s
UI
1m 58s
Integration
4m 5s
Annotations
9 errors and 1 notice
|
Integration
Process completed with exit code 1.
|
|
[chromium] βΊ tests/demo.spec.ts:31:3 βΊ demo mode βΊ two loadpoints:
tests/demo.spec.ts#L32
3) [chromium] βΊ tests/demo.spec.ts:31:3 βΊ demo mode βΊ two loadpoints βββββββββββββββββββββββββββββ
Retry #4 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('loadpoint')
Expected: 2
Received: 3
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for getByTestId('loadpoint')
13 Γ locator resolved to 3 elements
- unexpected value "3"
30 |
31 | test("two loadpoints", async ({ page }) => {
> 32 | await expect(page.getByTestId("loadpoint")).toHaveCount(2);
| ^
33 | await expect(page.getByTestId("loadpoint").nth(0)).toContainText("Carport");
34 | await expect(page.getByTestId("loadpoint").nth(1)).toContainText("Garage");
35 | });
at /home/runner/work/evcc/evcc/tests/demo.spec.ts:32:49
|
|
[chromium] βΊ tests/demo.spec.ts:31:3 βΊ demo mode βΊ two loadpoints:
tests/demo.spec.ts#L32
3) [chromium] βΊ tests/demo.spec.ts:31:3 βΊ demo mode βΊ two loadpoints βββββββββββββββββββββββββββββ
Retry #3 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('loadpoint')
Expected: 2
Received: 3
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for getByTestId('loadpoint')
13 Γ locator resolved to 3 elements
- unexpected value "3"
30 |
31 | test("two loadpoints", async ({ page }) => {
> 32 | await expect(page.getByTestId("loadpoint")).toHaveCount(2);
| ^
33 | await expect(page.getByTestId("loadpoint").nth(0)).toContainText("Carport");
34 | await expect(page.getByTestId("loadpoint").nth(1)).toContainText("Garage");
35 | });
at /home/runner/work/evcc/evcc/tests/demo.spec.ts:32:49
|
|
[chromium] βΊ tests/demo.spec.ts:31:3 βΊ demo mode βΊ two loadpoints:
tests/demo.spec.ts#L32
3) [chromium] βΊ tests/demo.spec.ts:31:3 βΊ demo mode βΊ two loadpoints βββββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('loadpoint')
Expected: 2
Received: 3
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for getByTestId('loadpoint')
13 Γ locator resolved to 3 elements
- unexpected value "3"
30 |
31 | test("two loadpoints", async ({ page }) => {
> 32 | await expect(page.getByTestId("loadpoint")).toHaveCount(2);
| ^
33 | await expect(page.getByTestId("loadpoint").nth(0)).toContainText("Carport");
34 | await expect(page.getByTestId("loadpoint").nth(1)).toContainText("Garage");
35 | });
at /home/runner/work/evcc/evcc/tests/demo.spec.ts:32:49
|
|
[chromium] βΊ tests/demo.spec.ts:31:3 βΊ demo mode βΊ two loadpoints:
tests/demo.spec.ts#L32
3) [chromium] βΊ tests/demo.spec.ts:31:3 βΊ demo mode βΊ two loadpoints βββββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('loadpoint')
Expected: 2
Received: 3
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for getByTestId('loadpoint')
13 Γ locator resolved to 3 elements
- unexpected value "3"
30 |
31 | test("two loadpoints", async ({ page }) => {
> 32 | await expect(page.getByTestId("loadpoint")).toHaveCount(2);
| ^
33 | await expect(page.getByTestId("loadpoint").nth(0)).toContainText("Carport");
34 | await expect(page.getByTestId("loadpoint").nth(1)).toContainText("Garage");
35 | });
at /home/runner/work/evcc/evcc/tests/demo.spec.ts:32:49
|
|
[chromium] βΊ tests/basics.spec.ts:45:3 βΊ session info βΊ change value:
tests/basics.spec.ts#L55
2) [chromium] βΊ tests/basics.spec.ts:45:3 βΊ session info βΊ change value ββββββββββββββββββββββββββ
Retry #4 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toContainText(expected) failed
Locator: getByTestId('sessionInfoLabel').first()
Expected substring: "Duration"
Received string: "Last 24h"
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for getByTestId('sessionInfoLabel').first()
14 Γ locator resolved to <div data-v-6e3b5d4e="" data-testid="sessionInfoLabel" class="text-decoration-underline text-truncate-xs-only">Last 24h</div>
- unexpected value "Last 24h"
53 | // by click on value
54 | await page.getByTestId("sessionInfoValue").first().click();
> 55 | await expect(page.getByTestId("sessionInfoLabel").first()).toContainText("Duration");
| ^
56 | });
57 | test("keep selection on reload", async ({ page }) => {
58 | await expect(page.getByTestId("sessionInfoLabel").first()).toContainText("Duration");
at /home/runner/work/evcc/evcc/tests/basics.spec.ts:55:64
|
|
[chromium] βΊ tests/basics.spec.ts:45:3 βΊ session info βΊ change value:
tests/basics.spec.ts#L55
2) [chromium] βΊ tests/basics.spec.ts:45:3 βΊ session info βΊ change value ββββββββββββββββββββββββββ
Retry #3 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toContainText(expected) failed
Locator: getByTestId('sessionInfoLabel').first()
Expected substring: "Duration"
Received string: "Last 24h"
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for getByTestId('sessionInfoLabel').first()
14 Γ locator resolved to <div data-v-6e3b5d4e="" data-testid="sessionInfoLabel" class="text-decoration-underline text-truncate-xs-only">Last 24h</div>
- unexpected value "Last 24h"
53 | // by click on value
54 | await page.getByTestId("sessionInfoValue").first().click();
> 55 | await expect(page.getByTestId("sessionInfoLabel").first()).toContainText("Duration");
| ^
56 | });
57 | test("keep selection on reload", async ({ page }) => {
58 | await expect(page.getByTestId("sessionInfoLabel").first()).toContainText("Duration");
at /home/runner/work/evcc/evcc/tests/basics.spec.ts:55:64
|
|
[chromium] βΊ tests/basics.spec.ts:45:3 βΊ session info βΊ change value:
tests/basics.spec.ts#L55
2) [chromium] βΊ tests/basics.spec.ts:45:3 βΊ session info βΊ change value ββββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toContainText(expected) failed
Locator: getByTestId('sessionInfoLabel').first()
Expected substring: "Duration"
Received string: "Last 24h"
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for getByTestId('sessionInfoLabel').first()
14 Γ locator resolved to <div data-v-6e3b5d4e="" data-testid="sessionInfoLabel" class="text-decoration-underline text-truncate-xs-only">Last 24h</div>
- unexpected value "Last 24h"
53 | // by click on value
54 | await page.getByTestId("sessionInfoValue").first().click();
> 55 | await expect(page.getByTestId("sessionInfoLabel").first()).toContainText("Duration");
| ^
56 | });
57 | test("keep selection on reload", async ({ page }) => {
58 | await expect(page.getByTestId("sessionInfoLabel").first()).toContainText("Duration");
at /home/runner/work/evcc/evcc/tests/basics.spec.ts:55:64
|
|
[chromium] βΊ tests/basics.spec.ts:45:3 βΊ session info βΊ change value:
tests/basics.spec.ts#L55
2) [chromium] βΊ tests/basics.spec.ts:45:3 βΊ session info βΊ change value ββββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toContainText(expected) failed
Locator: getByTestId('sessionInfoLabel').first()
Expected substring: "Duration"
Received string: "Last 24h"
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for getByTestId('sessionInfoLabel').first()
14 Γ locator resolved to <div data-v-6e3b5d4e="" data-testid="sessionInfoLabel" class="text-decoration-underline text-truncate-xs-only">Last 24h</div>
- unexpected value "Last 24h"
53 | // by click on value
54 | await page.getByTestId("sessionInfoValue").first().click();
> 55 | await expect(page.getByTestId("sessionInfoLabel").first()).toContainText("Duration");
| ^
56 | });
57 | test("keep selection on reload", async ({ page }) => {
58 | await expect(page.getByTestId("sessionInfoLabel").first()).toContainText("Duration");
at /home/runner/work/evcc/evcc/tests/basics.spec.ts:55:64
|
|
π Playwright Run Summary
2 failed
[chromium] βΊ tests/basics.spec.ts:45:3 βΊ session info βΊ change value βββββββββββββββββββββββββββ
[chromium] βΊ tests/demo.spec.ts:31:3 βΊ demo mode βΊ two loadpoints ββββββββββββββββββββββββββββββ
1 flaky
[chromium] βΊ tests/config-bool-service.spec.ts:24:3 βΊ config bool service param βΊ unset bool defaults to false and fills service placeholder
314 passed (2.1m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
|
6.14 MB |
sha256:602f5ffe02cbc3cc331a478cf1fd55e910f0f065a51f42cb5a8d4e2a3c4430d3
|
|
|
playwright-test-results
|
5.14 MB |
sha256:252d9bd3a7c70d55b15ff9d6f121ec89ddd0ca3596fd3b76c0ca135af0aeed58
|
|