diff --git a/src/routing/__snapshots__/routing.component.test.tsx.snap b/src/routing/__snapshots__/routing.component.test.tsx.snap index cacf3ba8..22c1a904 100644 --- a/src/routing/__snapshots__/routing.component.test.tsx.snap +++ b/src/routing/__snapshots__/routing.component.test.tsx.snap @@ -698,165 +698,674 @@ exports[`Routing component renders a route for a plugin when site is under maint "speedDial": 1050, "tooltip": 1500, }, + Symbol(mui.nested): false, } } > - - - - + + + - - , - "ctr": 1, - "insertionPoint": undefined, - "isSpeedy": false, - "key": "css", - "nonce": undefined, - "prepend": undefined, - "tags": Array [ - , - ], - }, + "message": "test", + "show": true, } } - isStringTag={true} - serialized={ - Object { - "map": undefined, - "name": "122vh0z", - "next": undefined, - "styles": "padding-bottom:36px;width:100%;max-height:calc(100vh - 64px - 20px - 8px - 8px - 32px);overflow:auto;transition:margin 195ms cubic-bezier(0.4, 0, 1, 1) 0ms,width 195ms cubic-bezier(0.4, 0, 1, 1) 0ms;", - "toString": [Function], - } + plugins={ + Array [ + Object { + "displayName": "Test Plugin", + "link": "/test_link", + "order": 1, + "plugin": "test_plugin_name", + "section": "test section", + }, + ] } - /> -
- - + + + , + "ctr": 1, + "insertionPoint": undefined, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "prepend": undefined, + "tags": Array [ + , + ], + }, } } - key="test_plugin_name" - location={ + isStringTag={true} + serialized={ Object { - "hash": "", - "key": "testKey", - "pathname": "/test_link", - "search": "", + "map": undefined, + "name": "9peh1a", + "next": undefined, + "styles": "width:100%;max-height:calc(100vh - 64px - 20px - 8px - 8px);overflow:auto;transition:margin 195ms cubic-bezier(0.4, 0, 1, 1) 0ms,width 195ms cubic-bezier(0.4, 0, 1, 1) 0ms;", + "toString": [Function], } } - path={ - Array [ - "/test_link", - ] - } + /> +
- - + -
- + -
- + - Mocked Preloader - +
+ + Mocked Preloader + +
+
-
-
-
-
- - -
- - - + + +
+
+
+
+
+
+ + @@ -1419,136 +1928,645 @@ exports[`Routing component renders a route for admin page 1`] = ` "speedDial": 1050, "tooltip": 1500, }, + Symbol(mui.nested): false, } } > - - - - - - , - "ctr": 1, - "insertionPoint": undefined, - "isSpeedy": false, - "key": "css", - "nonce": undefined, - "prepend": undefined, - "tags": Array [ - , - ], + + + + -
- - + + + , + "ctr": 1, + "insertionPoint": undefined, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "prepend": undefined, + "tags": Array [ + , + ], + }, } } - location={ + isStringTag={true} + serialized={ Object { - "hash": "", - "key": "testKey", - "pathname": "/admin", - "search": "", + "map": undefined, + "name": "9peh1a", + "next": undefined, + "styles": "width:100%;max-height:calc(100vh - 64px - 20px - 8px - 8px);overflow:auto;transition:margin 195ms cubic-bezier(0.4, 0, 1, 1) 0ms,width 195ms cubic-bezier(0.4, 0, 1, 1) 0ms;", + "toString": [Function], } } - path="/admin" - render={[Function]} + /> +
- - + -
- - Mocked AdminPage - -
-
-
- - -
- - - + + +
+ + Mocked AdminPage + +
+
+
+
+
+
+
+
+
+ + @@ -2111,169 +3129,678 @@ exports[`Routing component renders a route for maintenance page when site is und "speedDial": 1050, "tooltip": 1500, }, + Symbol(mui.nested): false, } } > - - - - + + + - - , - "ctr": 1, - "insertionPoint": undefined, - "isSpeedy": false, - "key": "css", - "nonce": undefined, - "prepend": undefined, - "tags": Array [ - , - ], - }, + "message": "test", + "show": true, } } - isStringTag={true} - serialized={ - Object { - "map": undefined, - "name": "122vh0z", - "next": undefined, - "styles": "padding-bottom:36px;width:100%;max-height:calc(100vh - 64px - 20px - 8px - 8px - 32px);overflow:auto;transition:margin 195ms cubic-bezier(0.4, 0, 1, 1) 0ms,width 195ms cubic-bezier(0.4, 0, 1, 1) 0ms;", - "toString": [Function], - } + plugins={ + Array [ + Object { + "displayName": "Test Plugin", + "link": "/test_link", + "order": 1, + "plugin": "test_plugin_name", + "section": "test section", + }, + ] } - /> -
- - + + + , + "ctr": 1, + "insertionPoint": undefined, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "prepend": undefined, + "tags": Array [ + , + ], + }, } } - location={ + isStringTag={true} + serialized={ Object { - "hash": "", - "key": "testKey", - "pathname": "/test_link", - "search": "", + "map": undefined, + "name": "9peh1a", + "next": undefined, + "styles": "width:100%;max-height:calc(100vh - 64px - 20px - 8px - 8px);overflow:auto;transition:margin 195ms cubic-bezier(0.4, 0, 1, 1) 0ms,width 195ms cubic-bezier(0.4, 0, 1, 1) 0ms;", + "toString": [Function], } } + /> +
- + - Mocked MaintenancePage - - - -
- - - + > + + Mocked MaintenancePage + +
+
+
+
+
+
+ +