Skip to content

Commit

Permalink
Fix cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperbirch1 committed Jan 28, 2025
1 parent 77c3be5 commit 7b8d14b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/apps/material/material.entry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ interface MaterialEntryTextProps {
reservationSuccesIsReservedForYouText: string;
reservationSuccessPreferredPickupBranchText: string;
reservationSuccesTitleText: string;
reservationsUrl: string;
reserveBookText: string;
reserveText: string;
reserveWithMaterialTypeText: string;
Expand All @@ -188,6 +189,7 @@ interface MaterialEntryConfigProps {
blacklistedInstantLoanBranchesConfig: string;
blacklistedPickupBranchesConfig?: string;
branchesConfig: string;
expirationWarningDaysBeforeConfig: string;
instantLoanConfig: string;
smsNotificationsForReservationsEnabledConfig: string;
}
Expand Down
10 changes: 10 additions & 0 deletions src/apps/material/material.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,10 @@ const meta: Meta<typeof MaterialEntry> = {
description: "Reservation Success title",
control: { type: "text" }
},
reservationsUrl: {
description: "Reservations URL",
control: { type: "text" }
},
reservationSuccesIsReservedForYouText: {
description: "Reservation Success Title",
control: { type: "text" }
Expand Down Expand Up @@ -660,6 +664,10 @@ const meta: Meta<typeof MaterialEntry> = {
description: "Instant loan underline description",
control: { type: "text" }
},
expirationWarningDaysBeforeConfig: {
description: "Expiration warning days before",
control: { type: "text" }
},
instantLoanConfig: {
description: "Instant loan config",
control: { type: "text" }
Expand Down Expand Up @@ -845,6 +853,7 @@ const meta: Meta<typeof MaterialEntry> = {
reservationDetailsNoInterestAfterTitleText: "Have no interest after",
daysText: "Days",
reservationSuccesTitleText: "Material is available and reserved for you!",
reservationsUrl: "/user/me/reservations",
reservationSuccesIsReservedForYouText: "is reserved for you",
reservationSuccessPreferredPickupBranchText:
"Material is available and you will get a message when it is ready for pickup - pickup at @branch",
Expand Down Expand Up @@ -945,6 +954,7 @@ const meta: Meta<typeof MaterialEntry> = {
instantLoanSubTitleText: "Spring køen over og hent bogen nu på",
instantLoanUnderlineDescriptionText:
"Bogen er tilgængelig på disse biblioteker nær dig",
expirationWarningDaysBeforeConfig: "1",
instantLoanConfig:
'{ "threshold": "1", "matchStrings": ["Standard"], "enabled": "true" }',
interestPeriodsConfig:
Expand Down

0 comments on commit 7b8d14b

Please sign in to comment.