Skip to content

Commit

Permalink
Update reservation-details test for Danish timezone
Browse files Browse the repository at this point in the history
Adjust the time in the `reservation-details` Cypress test due to the introduction of the Danish timezone in our GitHub Actions environment.
  • Loading branch information
kasperbirch1 committed Oct 10, 2023
1 parent ed4ae81 commit a39a559
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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", () => {
Expand Down Expand Up @@ -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", () => {
Expand Down

0 comments on commit a39a559

Please sign in to comment.