diff options
author | 2021-06-17 09:11:55 +0100 | |
---|---|---|
committer | 2021-06-17 12:14:47 +0100 | |
commit | 587fb7a8b712a60def1e931e4a2480687a64f231 (patch) | |
tree | 067d5a816c301335bccec12517cfbceb7512b428 /gui-clamp/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap | |
parent | 85aa90f957d962ab68a745ba938e144ae40c7a53 (diff) |
Added Tosca File Upload Functionality
Added 2 new components
One deals with the file upload to commissioning
Other deals with display of the ui elements
Issue-ID: POLICY-3222
Change-Id: I3b20489bb9e5c499f842cc8adde8147d3e3e8de0
Signed-off-by: saul.gill <saul.gill@est.tech>
Diffstat (limited to 'gui-clamp/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap')
-rw-r--r-- | gui-clamp/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/gui-clamp/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap b/gui-clamp/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap index 01f692b..2fef6c7 100644 --- a/gui-clamp/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap +++ b/gui-clamp/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap @@ -70,6 +70,71 @@ exports[`Verify MenuBar Test the render method 1`] = ` > View Tosca Template </DropdownItem> + <DropdownItem + as={ + Object { + "$$typeof": Symbol(react.forward_ref), + "attrs": Array [], + "componentStyle": e { + "baseHash": 1014106698, + "baseStyle": undefined, + "componentId": "sc-bdfBwQ", + "isStatic": false, + "rules": Array [ + " + color: ", + [Function], + "; + background-color: ", + [Function], + "; + font-weight: normal; + display: block; + width: 100%; + padding: .25rem 1.5rem; + clear: both; + text-align: inherit; + white-space: nowrap; + border: 0; + + :hover { + text-decoration: none; + background-color: ", + [Function], + "; + color: ", + [Function], + "; + } +", + ], + "staticRulesId": "", + }, + "foldedComponentIds": Array [], + "render": [Function], + "shouldForwardProp": undefined, + "styledComponentId": "sc-bdfBwQ", + "target": Object { + "$$typeof": Symbol(react.forward_ref), + "propTypes": Object { + "innerRef": [Function], + "onClick": [Function], + "replace": [Function], + "target": [Function], + "to": [Function], + }, + "render": [Function], + }, + "toString": [Function], + "warnTooManyClasses": [Function], + "withComponent": [Function], + } + } + disabled={false} + to="/uploadToscaFile" + > + Upload Tosca to Commissioning + </DropdownItem> </Styled(NavDropdown)> <Styled(NavDropdown) title="POLICY Framework" |