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(