-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #680 from reload/DDFLSBP-70-pause-remove-toggle
Refactor reservation pause banner
- Loading branch information
Showing
6 changed files
with
36 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -244,7 +244,6 @@ describe("Reservation list", () => { | |
emailAddress: "[email protected]", | ||
name: "Testkort ITK CMS Merkur", | ||
notificationProtocols: ["DIGITAL_POST"], | ||
onHold: { from: "some date", to: "some date" }, | ||
patronId: 10101010, | ||
phoneNumber: null, | ||
preferredLanguage: "da", | ||
|
@@ -326,7 +325,7 @@ describe("Reservation list", () => { | |
.should("have.text", "Pause your reservations"); | ||
// ID 11 2.a.ii. Toggle switch: which show whether the users reservation is paused | ||
cy.get(".dpl-pause-reservation-component") | ||
.find(".dpl-toggle-button--active") | ||
.find(".btn-primary") | ||
.should("exist"); | ||
|
||
// ID 11 2.b. The list "Ready for pickup" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters