Prevent adding same type of Op policy
[clamp.git] / ui-react / src / components / dialogs / Tosca / __snapshots__ / ViewToscaPolicyModal.test.js.snap
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`Verify ViewToscaPolicyModal Test the tosca model view render method 1`] = `
4 <Styled(Bootstrap(Modal))
5   onHide={[Function]}
6   show={true}
7   size="xl"
8 >
9   <ModalHeader
10     closeButton={true}
11     closeLabel="Close"
12   />
13   <ModalBody>
14     <WithStyles(Component)
15       columns={
16         Array [
17           Object {
18             "cellStyle": Object {
19               "border": "1px solid black",
20             },
21             "field": "index",
22             "headerStyle": Object {
23               "backgroundColor": "#ddd",
24               "border": "2px solid black",
25             },
26             "render": [Function],
27             "title": "#",
28           },
29           Object {
30             "cellStyle": Object {
31               "border": "1px solid black",
32             },
33             "field": "policyModelType",
34             "headerStyle": Object {
35               "backgroundColor": "#ddd",
36               "border": "2px solid black",
37             },
38             "title": "Policy Model Type",
39           },
40           Object {
41             "cellStyle": Object {
42               "border": "1px solid black",
43             },
44             "field": "policyAcronym",
45             "headerStyle": Object {
46               "backgroundColor": "#ddd",
47               "border": "2px solid black",
48             },
49             "title": "Policy Acronym",
50           },
51           Object {
52             "cellStyle": Object {
53               "border": "1px solid black",
54             },
55             "field": "version",
56             "headerStyle": Object {
57               "backgroundColor": "#ddd",
58               "border": "2px solid black",
59             },
60             "title": "Version",
61           },
62           Object {
63             "cellStyle": Object {
64               "border": "1px solid black",
65             },
66             "field": "updatedBy",
67             "headerStyle": Object {
68               "backgroundColor": "#ddd",
69               "border": "2px solid black",
70             },
71             "title": "Uploaded By",
72           },
73           Object {
74             "cellStyle": Object {
75               "border": "1px solid black",
76             },
77             "editable": "never",
78             "field": "updatedDate",
79             "headerStyle": Object {
80               "backgroundColor": "#ddd",
81               "border": "2px solid black",
82             },
83             "title": "Uploaded Date",
84           },
85         ]
86       }
87       data={Array []}
88       icons={
89         Object {
90           "FirstPage": Object {
91             "$$typeof": Symbol(react.forward_ref),
92             "render": [Function],
93           },
94           "LastPage": Object {
95             "$$typeof": Symbol(react.forward_ref),
96             "render": [Function],
97           },
98           "NextPage": Object {
99             "$$typeof": Symbol(react.forward_ref),
100             "render": [Function],
101           },
102           "PreviousPage": Object {
103             "$$typeof": Symbol(react.forward_ref),
104             "render": [Function],
105           },
106           "ResetSearch": Object {
107             "$$typeof": Symbol(react.forward_ref),
108             "render": [Function],
109           },
110           "Search": Object {
111             "$$typeof": Symbol(react.forward_ref),
112             "render": [Function],
113           },
114           "SortArrow": Object {
115             "$$typeof": Symbol(react.forward_ref),
116             "render": [Function],
117           },
118         }
119       }
120       onRowClick={[Function]}
121       options={
122         Object {
123           "headerStyle": Object {
124             "backgroundColor": "#ddd",
125             "border": "1px solid black",
126             "fontSize": "15pt",
127             "text": "bold",
128           },
129           "rowStyle": [Function],
130         }
131       }
132       title="View Tosca Policy Models"
133     />
134     <div>
135       <styled.textarea
136         onChange={[Function]}
137         value="Please select Tosca model to view the details"
138       />
139     </div>
140   </ModalBody>
141   <ModalFooter>
142     <Button
143       active={false}
144       disabled={false}
145       onClick={[Function]}
146       type="button"
147       variant="secondary"
148     >
149       Close
150     </Button>
151   </ModalFooter>
152 </Styled(Bootstrap(Modal))>
153 `;