From a39a559ba084e6c641a011b3b0195d4b9e91953a Mon Sep 17 00:00:00 2001 From: Kasper Birch Date: Tue, 10 Oct 2023 13:32:15 +0200 Subject: [PATCH] Update `reservation-details` test for Danish timezone Adjust the time in the `reservation-details` Cypress test due to the introduction of the Danish timezone in our GitHub Actions environment. --- .../modal/reservation-details/reservation-details.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/reservation-list/modal/reservation-details/reservation-details.test.ts b/src/apps/reservation-list/modal/reservation-details/reservation-details.test.ts index 13151a23b8..f56bf36802 100644 --- a/src/apps/reservation-list/modal/reservation-details/reservation-details.test.ts +++ b/src/apps/reservation-list/modal/reservation-details/reservation-details.test.ts @@ -213,7 +213,7 @@ describe("Reservation details modal test", () => { .find(".list-details") .eq(0) .find(".text-small-caption") - .should("have.text", "Your reservation expires 27-01-2023 22:37!"); + .should("have.text", "Your reservation expires 27-01-2023 23:37!"); // ID 17 2.f. header "date of reservation" cy.get(".modal-details__list") @@ -227,7 +227,7 @@ describe("Reservation details modal test", () => { .find(".list-details") .eq(1) .find(".text-small-caption") - .should("have.text", "16-08-2022 10:52"); + .should("have.text", "16-08-2022 12:52"); }); it("It shows digital reservation details modal, material queued", () => { @@ -328,7 +328,7 @@ describe("Reservation details modal test", () => { .find(".list-details") .eq(0) .find(".text-small-caption") - .should("have.text", "Borrow before 27-01-2023 22:37"); + .should("have.text", "Borrow before 27-01-2023 23:37"); }); it("It shows physical reservation details modal", () => {