aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/dialogs/__snapshots__/LoopProperties.test.js.snap
diff options
context:
space:
mode:
authorxuegao <xg353y@intl.att.com>2019-09-19 14:23:14 +0200
committerxuegao <xg353y@intl.att.com>2019-09-24 11:07:36 +0200
commit841ddaaa26c0faf16353d8e22093daa2553aad57 (patch)
tree61aaa6d28490a6b5f2037b4a6edb10ed5fdad2e5 /ui-react/src/components/dialogs/__snapshots__/LoopProperties.test.js.snap
parent27cbec79e30f7e25a7419be38dd9bb7c324c782c (diff)
Add unit tests for UI
Adding unit tests for React UI Issue-ID: CLAMP-509 Change-Id: If31bbea7972736aa190fd0fed19336a1aa382af8 Signed-off-by: xuegao <xg353y@intl.att.com>
Diffstat (limited to 'ui-react/src/components/dialogs/__snapshots__/LoopProperties.test.js.snap')
-rw-r--r--ui-react/src/components/dialogs/__snapshots__/LoopProperties.test.js.snap59
1 files changed, 59 insertions, 0 deletions
diff --git a/ui-react/src/components/dialogs/__snapshots__/LoopProperties.test.js.snap b/ui-react/src/components/dialogs/__snapshots__/LoopProperties.test.js.snap
new file mode 100644
index 00000000..c7e81c39
--- /dev/null
+++ b/ui-react/src/components/dialogs/__snapshots__/LoopProperties.test.js.snap
@@ -0,0 +1,59 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`Verify LoopProperties Test the render method 1`] = `
+<Styled(Bootstrap(Modal))
+ onHide={[Function]}
+ show={true}
+ size="lg"
+>
+ <ModalHeader
+ closeButton={true}
+ closeLabel="Close"
+ >
+ <ModalTitle>
+ Model Properties
+ </ModalTitle>
+ </ModalHeader>
+ <ModalBody>
+ <Form
+ inline={false}
+ >
+ <FormGroup>
+ <FormLabel
+ column={false}
+ srOnly={false}
+ >
+ Deploy Parameters
+ </FormLabel>
+ <FormControl
+ as="textarea"
+ defaultValue="{\\"location_id\\":\\"\\",\\"policy_id\\":\\"TCA_h2NMX_v1_0_ResourceInstanceName1_tca\\"}"
+ name="dcaeDeployParameters"
+ onChange={[Function]}
+ rows="3"
+ />
+ </FormGroup>
+ </Form>
+ </ModalBody>
+ <ModalFooter>
+ <Button
+ active={false}
+ disabled={false}
+ onClick={[Function]}
+ type="null"
+ variant="secondary"
+ >
+ Cancel
+ </Button>
+ <Button
+ active={false}
+ disabled={false}
+ onClick={[Function]}
+ type="submit"
+ variant="primary"
+ >
+ Save Changes
+ </Button>
+ </ModalFooter>
+</Styled(Bootstrap(Modal))>
+`;