diff options
author | 2019-10-01 13:10:40 +0000 | |
---|---|---|
committer | 2019-10-01 13:10:40 +0000 | |
commit | 200371009b84b9f6cfbd26816392a71e213dc3c5 (patch) | |
tree | 6144d1d77ca70eb82e302b95dd32b1c11f1c2af1 /ui-react/src/components/loop_viewer/status/__snapshots__/LoopStatus.test.js.snap | |
parent | 34f3d17a70c3656e6bb7935187dd6b51efda0873 (diff) | |
parent | 841ddaaa26c0faf16353d8e22093daa2553aad57 (diff) |
Merge "Add unit tests for UI"
Diffstat (limited to 'ui-react/src/components/loop_viewer/status/__snapshots__/LoopStatus.test.js.snap')
-rw-r--r-- | ui-react/src/components/loop_viewer/status/__snapshots__/LoopStatus.test.js.snap | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/ui-react/src/components/loop_viewer/status/__snapshots__/LoopStatus.test.js.snap b/ui-react/src/components/loop_viewer/status/__snapshots__/LoopStatus.test.js.snap new file mode 100644 index 00000000..275933ee --- /dev/null +++ b/ui-react/src/components/loop_viewer/status/__snapshots__/LoopStatus.test.js.snap @@ -0,0 +1,64 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Verify LoopStatus Test the render method 1`] = ` +<styled.div> + <label> + Loop Status: + DESIGN + </label> + <div> + <Styled(Bootstrap(Table)) + hover={true} + responsive={true} + striped={true} + variant={true} + > + <thead> + <tr> + <th> + <span + align="left" + > + Component Name + </span> + </th> + <th> + <span + align="left" + > + Component State + </span> + </th> + <th> + <span + align="right" + > + Description + </span> + </th> + </tr> + </thead> + <tbody> + <TableRow + statusRow={ + Object { + "componentName": "POLICY", + "description": "The policies defined have NOT yet been created on the policy engine", + "stateName": "NOT_SENT", + } + } + /> + <TableRow + statusRow={ + Object { + "componentName": "DCAE", + "description": "The DCAE blueprint has been found in the DCAE inventory but not yet instancianted for this loop", + "stateName": "BLUEPRINT_DEPLOYED", + } + } + /> + </tbody> + </Styled(Bootstrap(Table))> + </div> +</styled.div> +`; |