Add unit tests for UI
[clamp.git] / ui-react / src / components / dialogs / __snapshots__ / UserInfo.test.js.snap
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`Verify UserInfo Test the render method full permission 1`] = `
4 <Styled(Bootstrap(Modal))
5   onHide={[Function]}
6   show={true}
7   size="lg"
8 >
9   <ModalHeader
10     closeButton={true}
11     closeLabel="Close"
12   >
13     <ModalTitle>
14       User Info
15     </ModalTitle>
16   </ModalHeader>
17   <ModalBody>
18     <FormGroup
19       as={
20         Object {
21           "$$typeof": Symbol(react.forward_ref),
22           "defaultProps": Object {
23             "noGutters": false,
24           },
25           "render": [Function],
26         }
27       }
28       controlId="userName"
29     >
30       <FormLabel
31         column={true}
32         sm="3"
33         srOnly={false}
34       >
35         Current User:
36       </FormLabel>
37       <Col>
38         <FormControl
39           defaultValue="test"
40           plaintext={true}
41           readOnly={true}
42         />
43       </Col>
44     </FormGroup>
45     <FormGroup
46       as={
47         Object {
48           "$$typeof": Symbol(react.forward_ref),
49           "defaultProps": Object {
50             "noGutters": false,
51           },
52           "render": [Function],
53         }
54       }
55       controlId="cldsVersion"
56     >
57       <FormLabel
58         column={true}
59         sm="3"
60         srOnly={false}
61       >
62         CLDS Version:
63       </FormLabel>
64       <Col>
65         <FormControl
66           defaultValue="1.0.0"
67           plaintext={true}
68           readOnly={true}
69         />
70       </Col>
71     </FormGroup>
72     <FormGroup
73       as={
74         Object {
75           "$$typeof": Symbol(react.forward_ref),
76           "defaultProps": Object {
77             "noGutters": false,
78           },
79           "render": [Function],
80         }
81       }
82       controlId="userPermissions"
83     >
84       <FormLabel
85         column={true}
86         sm="3"
87         srOnly={false}
88       >
89         User Permissions:
90       </FormLabel>
91       <Col>
92         <FormControl
93           defaultValue="Read Template"
94           plaintext={true}
95           readOnly={true}
96         />
97         <FormControl
98           defaultValue="Read Model"
99           plaintext={true}
100           readOnly={true}
101         />
102         <FormControl
103           defaultValue="Read Tosca"
104           plaintext={true}
105           readOnly={true}
106         />
107         <FormControl
108           defaultValue="Edit Template"
109           plaintext={true}
110           readOnly={true}
111         />
112         <FormControl
113           defaultValue="Edit Model"
114           plaintext={true}
115           readOnly={true}
116         />
117         <FormControl
118           defaultValue="Edit Tosca"
119           plaintext={true}
120           readOnly={true}
121         />
122       </Col>
123     </FormGroup>
124   </ModalBody>
125   <ModalFooter>
126     <Button
127       active={false}
128       disabled={false}
129       onClick={[Function]}
130       type="null"
131       variant="secondary"
132     >
133       Cancel
134     </Button>
135   </ModalFooter>
136 </Styled(Bootstrap(Modal))>
137 `;