- Breadcrumbs
-
- Editor: Object
- foo:123
-
- ObjectSummary
-
+
+
+ Breadcrumbs
+
+ Editor: Object foo:123
+
+ ObjectSummary
-
-
- Datastreams
-
- DatastreamList
+
+
+ Datastreams
+
+ DatastreamList
+
+ DatastreamModalParentsModalStateModal
+
+ Contents
+
+ ChildListEditorSnackbar
- DatastreamModal
- ParentsModal
- StateModal
-
- Contents
-
- ChildList
- EditorSnackbar
-
+
`;
diff --git a/client/components/edit/__snapshots__/ObjectLoader.test.tsx.snap b/client/components/edit/__snapshots__/ObjectLoader.test.tsx.snap
index 5ea83f617..51f763bf5 100644
--- a/client/components/edit/__snapshots__/ObjectLoader.test.tsx.snap
+++ b/client/components/edit/__snapshots__/ObjectLoader.test.tsx.snap
@@ -1,32 +1,28 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
+exports[`ObjectLoader renders correctly for a loaded object 1`] = `
`;
+
exports[`ObjectLoader renders correctly for a pending object 1`] = `
-[
- " ",
+
+
- ,
-]
+
+
`;
diff --git a/client/components/edit/__snapshots__/ObjectModels.test.tsx.snap b/client/components/edit/__snapshots__/ObjectModels.test.tsx.snap
index 2fc671aa7..37b0c69ad 100644
--- a/client/components/edit/__snapshots__/ObjectModels.test.tsx.snap
+++ b/client/components/edit/__snapshots__/ObjectModels.test.tsx.snap
@@ -1,40 +1,34 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ObjectModels renders models 1`] = `
-
-
- Models:
-
-
- -
- CollectionModel
-
- -
- CoreModel
-
- -
- FolderCollection
-
-
-
+
+
+
+ Models:
+
+
+ -
+ CollectionModel
+
+ -
+ CoreModel
+
+ -
+ FolderCollection
+
+
+
+
`;
-exports[`ObjectModels renders nothing when data is missing 1`] = `
`;
+exports[`ObjectModels renders nothing when data is missing 1`] = `
+
+
+
+`;
diff --git a/client/components/edit/__snapshots__/ObjectOrder.test.tsx.snap b/client/components/edit/__snapshots__/ObjectOrder.test.tsx.snap
index d8b597aa3..467c02d2d 100644
--- a/client/components/edit/__snapshots__/ObjectOrder.test.tsx.snap
+++ b/client/components/edit/__snapshots__/ObjectOrder.test.tsx.snap
@@ -1,29 +1,23 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ObjectOrder defaults to title order for a pending object 1`] = `
-
- Current sort:
- title
-
-
-
+
+
+ Current sort: title
+
+
+
`;
exports[`ObjectOrder displays a custom-sorted object correctly 1`] = `
-
- Current sort:
- custom
-
-
-
+
+
+ Current sort: custom
+
+
+
`;
diff --git a/client/components/edit/__snapshots__/ObjectPreviewButton.test.tsx.snap b/client/components/edit/__snapshots__/ObjectPreviewButton.test.tsx.snap
index a158c9083..896a7f854 100644
--- a/client/components/edit/__snapshots__/ObjectPreviewButton.test.tsx.snap
+++ b/client/components/edit/__snapshots__/ObjectPreviewButton.test.tsx.snap
@@ -1,9 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ObjectPreviewButton renders correctly with VuFind URL 1`] = `
-
+
+
+
`;
diff --git a/client/components/edit/__snapshots__/ObjectStatus.test.tsx.snap b/client/components/edit/__snapshots__/ObjectStatus.test.tsx.snap
index 79ce7af0a..a8394565e 100644
--- a/client/components/edit/__snapshots__/ObjectStatus.test.tsx.snap
+++ b/client/components/edit/__snapshots__/ObjectStatus.test.tsx.snap
@@ -1,57 +1,53 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ObjectStatus defaults to unknown state 1`] = `
-[
+
,
- ",",
-]
+ Unknown
+
+ ,
+
`;
exports[`ObjectStatus displays the state found in the response 1`] = `
-[
+
,
- ",",
-]
+ Inactive
+
+ ,
+
`;
diff --git a/client/components/edit/__snapshots__/ObjectSummary.test.tsx.snap b/client/components/edit/__snapshots__/ObjectSummary.test.tsx.snap
index efa42b9ca..6cff8b1b0 100644
--- a/client/components/edit/__snapshots__/ObjectSummary.test.tsx.snap
+++ b/client/components/edit/__snapshots__/ObjectSummary.test.tsx.snap
@@ -1,83 +1,58 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ObjectSummary displays loading message when appropriate 1`] = `
-
+
- ObjectThumbnail
+
+ ObjectThumbnail
+
+
+ Loading...
+
+
+ PID: foo:123 CopyPidButton
+
-
- Loading...
-
-
- PID:
- foo:123
-
- CopyPidButton
-
-
+
`;
exports[`ObjectSummary renders information from metadata when available 1`] = `
-
+
- ObjectThumbnail
- ObjectModels
+
+ ObjectThumbnailObjectModels
+
+
+ My title
+
+
+
+ Hello
+
+ world
+
+ !
+
+
+
+ ObjectButtonBar
+
+ ObjectOrderObjectChildCountsPID: foo:123 CopyPidButton
+
-
- My title
-
-
-
- Hello
-
- world
-
- !
-
-
-
- ObjectButtonBar
-
- ObjectOrder
- ObjectChildCounts
- PID:
- foo:123
-
- CopyPidButton
-
-
+
`;
diff --git a/client/components/edit/__snapshots__/ObjectThumbnail.test.tsx.snap b/client/components/edit/__snapshots__/ObjectThumbnail.test.tsx.snap
index f9d020471..599d233d0 100644
--- a/client/components/edit/__snapshots__/ObjectThumbnail.test.tsx.snap
+++ b/client/components/edit/__snapshots__/ObjectThumbnail.test.tsx.snap
@@ -1,19 +1,19 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ObjectThumbnail displays unavailable message when appropriate 1`] = `
-
- No Thumbnail
-
+
+
+ No Thumbnail
+
+
`;
exports[`ObjectThumbnail renders thumbnail when available 1`] = `
-

+
+
+
`;
diff --git a/client/components/edit/__snapshots__/PidPicker.test.tsx.snap b/client/components/edit/__snapshots__/PidPicker.test.tsx.snap
index 21dbc2c61..c48851acc 100644
--- a/client/components/edit/__snapshots__/PidPicker.test.tsx.snap
+++ b/client/components/edit/__snapshots__/PidPicker.test.tsx.snap
@@ -1,57 +1,50 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`PidPicker renders correctly with a selected PID 1`] = `
-[
- "Selected pid: ",
- "selected:123",
- ". ",
-
+
`;
exports[`PidPicker renders correctly with favorite PIDs 1`] = `
-[
+
- AccordionSummary: "Enter PID manually"
+
+ AccordionSummary: "Enter PID manually"
+
,
+
- AccordionSummary: "Choose PID from Tree"
+
+ AccordionSummary: "Choose PID from Tree"
+
ChildList
@@ -91,44 +85,41 @@ exports[`PidPicker renders correctly with favorite PIDs 1`] = `
-
,
+
- AccordionSummary: "Choose PID from Favorites"
+
+ AccordionSummary: "Choose PID from Favorites"
+
-
-
+
first test
-
-
+
second test
@@ -138,49 +129,46 @@ exports[`PidPicker renders correctly with favorite PIDs 1`] = `
-
,
-]
+
+
`;
exports[`PidPicker renders correctly with parents 1`] = `
-[
+
- AccordionSummary: "Enter PID manually"
+
+ AccordionSummary: "Enter PID manually"
+
,
+
- AccordionSummary: "Choose PID from Tree"
+
+ AccordionSummary: "Choose PID from Tree"
+
ChildList
@@ -220,31 +209,32 @@ exports[`PidPicker renders correctly with parents 1`] = `
-
,
+
- AccordionSummary: ["Choose PID from Parent (","Foo",")"]
+
+ AccordionSummary: ["Choose PID from Parent (","Foo",")"]
+
ChildList
@@ -252,31 +242,32 @@ exports[`PidPicker renders correctly with parents 1`] = `
-
,
+
- AccordionSummary: ["Choose PID from Parent (","Bar",")"]
+
+ AccordionSummary: ["Choose PID from Parent (","Bar",")"]
+
ChildList
@@ -284,44 +275,41 @@ exports[`PidPicker renders correctly with parents 1`] = `
-
,
+
- AccordionSummary: "Choose PID from Favorites"
+
+ AccordionSummary: "Choose PID from Favorites"
+
-
-
+
first test
-
-
+
second test
@@ -331,49 +319,46 @@ exports[`PidPicker renders correctly with parents 1`] = `
-
,
-]
+
+
`;
exports[`PidPicker renders correctly with recent PIDs 1`] = `
-[
+
- AccordionSummary: "Enter PID manually"
+
+ AccordionSummary: "Enter PID manually"
+
,
+
- AccordionSummary: "Choose PID from Tree"
+
+ AccordionSummary: "Choose PID from Tree"
+
ChildList
@@ -413,44 +399,41 @@ exports[`PidPicker renders correctly with recent PIDs 1`] = `
-
,
+
- AccordionSummary: "Choose PID from Favorites"
+
+ AccordionSummary: "Choose PID from Favorites"
+
-
-
+
first test
-
-
+
second test
@@ -460,44 +443,41 @@ exports[`PidPicker renders correctly with recent PIDs 1`] = `
-
,
+
- AccordionSummary: "Choose PID from Recently Viewed"
+
+ AccordionSummary: "Choose PID from Recently Viewed"
+
-
-
+
first test
-
-
+
second test
@@ -507,49 +487,46 @@ exports[`PidPicker renders correctly with recent PIDs 1`] = `
-
,
-]
+
+
`;
exports[`PidPicker renders correctly without favorite PIDs 1`] = `
-[
+
- AccordionSummary: "Enter PID manually"
+
+ AccordionSummary: "Enter PID manually"
+
,
+
- AccordionSummary: "Choose PID from Tree"
+
+ AccordionSummary: "Choose PID from Tree"
+
ChildList
@@ -589,6 +567,6 @@ exports[`PidPicker renders correctly without favorite PIDs 1`] = `
-
,
-]
+
+
`;
diff --git a/client/components/edit/__snapshots__/StateModal.test.tsx.snap b/client/components/edit/__snapshots__/StateModal.test.tsx.snap
index 8222bb942..cc97d98cc 100644
--- a/client/components/edit/__snapshots__/StateModal.test.tsx.snap
+++ b/client/components/edit/__snapshots__/StateModal.test.tsx.snap
@@ -1,86 +1,48 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`StateModal renders correctly for a loaded object with children 1`] = `
-[
- "Dialog",
- "open",
- "State Editor (",
- "foo:123",
- ")",
+
+ DialogopenState Editor (foo:123)
CloseIcon
-
- ,
- "{"pid":"foo:123"}",
+
+ {"pid":"foo:123"}
,
+
-
,
-
+
+
Save
- ,
-]
+
+
`;
exports[`StateModal renders correctly for a loaded object without children 1`] = `
-[
- "Dialog",
- "open",
- "State Editor (",
- "foo:123",
- ")",
+
+ DialogopenState Editor (foo:123)
CloseIcon
-
- ,
- "{"pid":"foo:123"}",
+
+ {"pid":"foo:123"}
,
-
+
+
Save
- ,
-]
+
+
`;
exports[`StateModal renders correctly for a pending object 1`] = `
-[
- "Dialog",
- "open",
- "State Editor (",
- "foo:123",
- ")",
+
+ DialogopenState Editor (foo:123)
CloseIcon
-
- ,
- "{"pid":"foo:123"}",
+
+ {"pid":"foo:123"}
,
+
Loading...
-
,
-
+
+
Save
- ,
-]
+
+
`;
exports[`StateModal renders correctly when closed 1`] = `
-[
- "Dialog",
- "closed",
- "State Editor (",
- "foo:123",
- ")",
+
+ DialogclosedState Editor (foo:123)
CloseIcon
-
- ,
- "{"pid":"foo:123"}",
+
+ {"pid":"foo:123"}
,
+