aboutsummaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/ReadAndConvertYaml.test.js.snap
diff options
context:
space:
mode:
authorsaul.gill <saul.gill@est.tech>2021-07-02 17:10:54 +0100
committersaul.gill <saul.gill@est.tech>2021-07-02 17:10:59 +0100
commit6687b48b58bf1248532de48f3e375b1f663f4015 (patch)
tree6582070c8db251b85695bcdc902ea98aac573003 /gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/ReadAndConvertYaml.test.js.snap
parentb908988c81db910d4e2bea3e569e468f5f2c8f85 (diff)
Changed components to be service-centric
Moved endpoints to ControlLoopService.js Refactored components and tests Issue-ID: POLICY-3424 Change-Id: I70d48750250eecd651b845ef0c726617983f75f5 Signed-off-by: saul.gill <saul.gill@est.tech>
Diffstat (limited to 'gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/ReadAndConvertYaml.test.js.snap')
-rw-r--r--gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/ReadAndConvertYaml.test.js.snap46
1 files changed, 46 insertions, 0 deletions
diff --git a/gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/ReadAndConvertYaml.test.js.snap b/gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/ReadAndConvertYaml.test.js.snap
new file mode 100644
index 0000000..fab7801
--- /dev/null
+++ b/gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/ReadAndConvertYaml.test.js.snap
@@ -0,0 +1,46 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`Verify ReadAndConvertYaml renders correctly 1`] = `
+<Styled(Modal)
+ backdrop="static"
+ keyboard={false}
+ onHide={[Function]}
+ show={true}
+ size="xl"
+>
+ <ModalHeader
+ closeButton={true}
+ closeLabel="Close"
+ >
+ <ModalTitle>
+ View Tosca Template
+ </ModalTitle>
+ </ModalHeader>
+ <ModalBody>
+ <GetToscaTemplate
+ onGetToscaServiceTemplate={[Function]}
+ templateName="ToscaServiceTemplateSimple"
+ templateVersion="1.0.0"
+ />
+ <styled.pre>
+
+
+ </styled.pre>
+ <Styled(Alert)
+ show={false}
+ variant="danger"
+ />
+ </ModalBody>
+ <ModalFooter>
+ <Button
+ active={false}
+ disabled={false}
+ onClick={[Function]}
+ type="null"
+ variant="secondary"
+ >
+ Cancel
+ </Button>
+ </ModalFooter>
+</Styled(Modal)>
+`;