aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/dialogs/__snapshots__/UserInfoModal.test.js.snap
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2019-11-15 17:49:42 +0100
committersebdet <sebastien.determe@intl.att.com>2019-11-15 17:49:42 +0100
commit4dc849f66bf9c8749ca8d2ef228fceee4d358ca1 (patch)
tree1f961e1928795cfc61daea1877feedb98d671eef /ui-react/src/components/dialogs/__snapshots__/UserInfoModal.test.js.snap
parent67c76a46e6a96c4c41fddddb9245234063b5306e (diff)
Fix naming convention
Fourth stage, fix naming convention in UI-react so that it's clearer Issue-ID: CLAMP-552 Change-Id: I5d082aec575bf0d71dd08065b9d2bf1bb869d7ca Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'ui-react/src/components/dialogs/__snapshots__/UserInfoModal.test.js.snap')
-rw-r--r--ui-react/src/components/dialogs/__snapshots__/UserInfoModal.test.js.snap137
1 files changed, 137 insertions, 0 deletions
diff --git a/ui-react/src/components/dialogs/__snapshots__/UserInfoModal.test.js.snap b/ui-react/src/components/dialogs/__snapshots__/UserInfoModal.test.js.snap
new file mode 100644
index 000000000..fdb24a430
--- /dev/null
+++ b/ui-react/src/components/dialogs/__snapshots__/UserInfoModal.test.js.snap
@@ -0,0 +1,137 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`Verify UserInfoModal Test the render method full permission 1`] = `
+<Styled(Bootstrap(Modal))
+ onHide={[Function]}
+ show={true}
+ size="lg"
+>
+ <ModalHeader
+ closeButton={true}
+ closeLabel="Close"
+ >
+ <ModalTitle>
+ User Info
+ </ModalTitle>
+ </ModalHeader>
+ <ModalBody>
+ <FormGroup
+ as={
+ Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "defaultProps": Object {
+ "noGutters": false,
+ },
+ "render": [Function],
+ }
+ }
+ controlId="userName"
+ >
+ <FormLabel
+ column={true}
+ sm="3"
+ srOnly={false}
+ >
+ Current User:
+ </FormLabel>
+ <Col>
+ <FormControl
+ defaultValue="test"
+ plaintext={true}
+ readOnly={true}
+ />
+ </Col>
+ </FormGroup>
+ <FormGroup
+ as={
+ Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "defaultProps": Object {
+ "noGutters": false,
+ },
+ "render": [Function],
+ }
+ }
+ controlId="cldsVersion"
+ >
+ <FormLabel
+ column={true}
+ sm="3"
+ srOnly={false}
+ >
+ CLDS Version:
+ </FormLabel>
+ <Col>
+ <FormControl
+ defaultValue="1.0.0"
+ plaintext={true}
+ readOnly={true}
+ />
+ </Col>
+ </FormGroup>
+ <FormGroup
+ as={
+ Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "defaultProps": Object {
+ "noGutters": false,
+ },
+ "render": [Function],
+ }
+ }
+ controlId="userPermissions"
+ >
+ <FormLabel
+ column={true}
+ sm="3"
+ srOnly={false}
+ >
+ User Permissions:
+ </FormLabel>
+ <Col>
+ <FormControl
+ defaultValue="Read Template"
+ plaintext={true}
+ readOnly={true}
+ />
+ <FormControl
+ defaultValue="Read Model"
+ plaintext={true}
+ readOnly={true}
+ />
+ <FormControl
+ defaultValue="Read Tosca"
+ plaintext={true}
+ readOnly={true}
+ />
+ <FormControl
+ defaultValue="Edit Template"
+ plaintext={true}
+ readOnly={true}
+ />
+ <FormControl
+ defaultValue="Edit Model"
+ plaintext={true}
+ readOnly={true}
+ />
+ <FormControl
+ defaultValue="Edit Tosca"
+ plaintext={true}
+ readOnly={true}
+ />
+ </Col>
+ </FormGroup>
+ </ModalBody>
+ <ModalFooter>
+ <Button
+ active={false}
+ disabled={false}
+ onClick={[Function]}
+ type="null"
+ variant="secondary"
+ >
+ Cancel
+ </Button>
+ </ModalFooter>
+</Styled(Bootstrap(Modal))>
+`;