From d82d2ca07429fef9182ec903a187d1121c838d75 Mon Sep 17 00:00:00 2001 From: Karsten Hassel Date: Thu, 12 Sep 2024 20:50:13 +0200 Subject: [PATCH] hotfix for calendar_spec.js (used data now returns 20 events) --- CHANGELOG.md | 1 + tests/e2e/modules/calendar_spec.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index febf68ed29..56db0c20bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ _This release is scheduled to be released on 2024-10-01._ - [weather] Fixed issue with the UK Met Office provider following a change in their API paths and header info. - [core] add check for node_helper loading for multiple instances of same module (#3502) - [weather] Fixed issue for respecting unit config on broadcasted notifications +- [tests] Fixes calendar e2e test (#3532) ## [2.28.0] - 2024-07-01 diff --git a/tests/e2e/modules/calendar_spec.js b/tests/e2e/modules/calendar_spec.js index 0dcd562cd1..e2f9266c3e 100644 --- a/tests/e2e/modules/calendar_spec.js +++ b/tests/e2e/modules/calendar_spec.js @@ -95,7 +95,7 @@ describe("Calendar module", () => { }); it("should show multiple events with the same title and start time from different calendars", async () => { - await expect(testElementLength(".calendar .event", 22)).resolves.toBe(true); + await expect(testElementLength(".calendar .event", 20)).resolves.toBe(true); }); });