diff --git a/src/lib/pages/backoffice/Document/DocumentDetails/DocumentItems/__snapshots__/DocumentItems.test.js.snap b/src/lib/pages/backoffice/Document/DocumentDetails/DocumentItems/__snapshots__/DocumentItems.test.js.snap index d66dc3925..58ee3f44c 100644 --- a/src/lib/pages/backoffice/Document/DocumentDetails/DocumentItems/__snapshots__/DocumentItems.test.js.snap +++ b/src/lib/pages/backoffice/Document/DocumentDetails/DocumentItems/__snapshots__/DocumentItems.test.js.snap @@ -1,79 +1,30 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`DocumentItems tests should load the DocumentItems component 1`] = ` - - - - } - showAllResults={false} - showFooterSummary={true} - showMaxRows={5} - singleLine={true} - subtitle="" - title="" - totalHitsCount={0} - /> - - + showMaxItems={5} +/> `; exports[`DocumentItems tests should render item 1`] = ` - - - - - - + - } - showAllResults={false} - showFooterSummary={true} - showMaxRows={5} - singleLine={true} - subtitle="" - title="" - totalHitsCount={2} - > - + } + showAllResults={false} + showFooterSummary={true} + showMaxRows={5} singleLine={true} - striped={true} subtitle="" title="" - unstackable={true} + totalHitsCount={2} > -
- - - - - - - - - - - - + Barcode + + + + - - - - - + Status + + + + - - - - - + Medium + + + + - - - - - + Location + + + + - - - - - + Shelf + + + + - - - - - + Restrictions + + + + - - - - - - - - - + Loan Status + + + + + + + + + - - - - - - - - - + + - MISSING - - - - + + - NOT_SPECIFIED - - - - + + - undefined (Somewhere) - - - - + + - Shelf 1 - - - - + + - NO_RESTRICTION - - - - + + - - - - - - - - + - + + + + + - - - - - + + - CAN_CIRCULATE - - - - + + - NOT_SPECIFIED - - - - + + - undefined (Somewhere Else) - - - - + + - Shelf 2 - - - - + + - ONE_WEEK - - - - + + - - - - - - - - - - - } - showAllResults={false} - showFooterSummary={true} - showMaxRows={5} - /> -
- Barcode - - Status - - Medium - - Location - - Shelf - - Restrictions - - Loan Status -
- - + + + MISSING + + NOT_SPECIFIED + + undefined (Somewhere) + + Shelf 1 + + NO_RESTRICTION +
- - + + + CAN_CIRCULATE + + NOT_SPECIFIED + + undefined (Somewhere Else) + + Shelf 2 + + ONE_WEEK +
- -
-
-
-
-
-
+ + - + + + + + + + + + } + showAllResults={false} + showFooterSummary={true} + showMaxRows={5} + /> + + + + + + + + + `; exports[`DocumentItems tests should render show a message with no items 1`] = ` - - - - - - - } - showAllResults={false} - showFooterSummary={true} - showMaxRows={5} - singleLine={true} - subtitle="" - title="" - totalHitsCount={0} + - + } + showAllResults={false} + showFooterSummary={true} + showMaxRows={5} + singleLine={true} + subtitle="" + title="" + totalHitsCount={0} > -
- -
- -
- No results found -
-
- There are no - attached items - . -
-
-
-
-
-
-
-
-
-
+
+ +
+ +
+ No results found +
+
+ There are no + attached items + . +
+
+
+ + + + + + + + `; exports[`DocumentItems tests should render the see all button when showing only a few items 1`] = ` - - - - - - + - } - showAllResults={false} - showFooterSummary={true} - showMaxRows={1} - singleLine={true} - subtitle="" - title="" - totalHitsCount={2} - > - + } + showAllResults={false} + showFooterSummary={true} + showMaxRows={1} singleLine={true} - striped={true} subtitle="" title="" - unstackable={true} + totalHitsCount={2} > -
- - - - - - - - - - - - + Barcode + + + + - - - - - + Status + + + + - - - - - + Medium + + + + - - - - - + Location + + + + - - - - - + Shelf + + + + - - - - - + Restrictions + + + + - - - - - - - - - + Loan Status + + + + + + + + + - - + - - - - - - - + + - MISSING - - - - + + - NOT_SPECIFIED - - - - + + - undefined (Somewhere) - - - - + + - Shelf 1 - - - - + + - NO_RESTRICTION - - - - + + - - - - - - - - - - - } - showAllResults={false} - showFooterSummary={true} - showMaxRows={1} - > - + - + + + + + + + + + } + showAllResults={false} + showFooterSummary={true} + showMaxRows={1} > - - - - - - - - - - - - - - - -
- Barcode - - Status - - Medium - - Location - - Shelf - - Restrictions - - Loan Status -
- - + + + MISSING + + NOT_SPECIFIED + + undefined (Somewhere) + + Shelf 1 + + NO_RESTRICTION +
- - Showing entries - 1 - - - 1 - of - 2 - - - - - - - - -
- -
-
-
-
-
-
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + `;