From 9033cbdefbc4b75f3f37824efb7cb68deb4c3cca Mon Sep 17 00:00:00 2001 From: Ivymaster Date: Thu, 9 Jul 2026 10:50:55 +0200 Subject: [PATCH] IGNORE: Formatting --- .../cypress/cypress/e2e/specs/ui/tempus/tempus.filters.cy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cypress/cypress/e2e/specs/ui/tempus/tempus.filters.cy.js b/tests/cypress/cypress/e2e/specs/ui/tempus/tempus.filters.cy.js index c185cfa77..4ce68fd79 100644 --- a/tests/cypress/cypress/e2e/specs/ui/tempus/tempus.filters.cy.js +++ b/tests/cypress/cypress/e2e/specs/ui/tempus/tempus.filters.cy.js @@ -42,7 +42,7 @@ context("Tempus filter tests", () => { tempusPage.getCalendarEvents().should("have.length.greaterThan", 0); tempusPage.getCalendarEvents().each(($event) => { const eventData = tempusPage.getCalendarEventData($event); - + let eventRoom = eventData?.orig?.ort_kurzbz; if (Array.isArray(eventRoom)) eventRoom = eventRoom.length ? eventRoom[0] : ""; @@ -71,7 +71,7 @@ context("Tempus filter tests", () => { let selectedRoom = JSON.parse(eventJSON)?.orig?.ort_kurzbz; if (Array.isArray(selectedRoom)) selectedRoom = selectedRoom.length ? selectedRoom[0] : ""; - console.log("Selected room:", selectedRoom); + expect(selectedRoom, "first event room").to.be.a("string").and.not.be .empty; expect(