55137b9283fa21fd866cba604e4ac8fb60a2bf3e
[clamp.git] / ui-react / src / components / dialogs / ViewToscaModals / __snapshots__ / ViewToscaModals.test.js.snap
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`Verify ViewToscaModals 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     <ModalTitle
14       className="title"
15     >
16       View Tosca Model
17     </ModalTitle>
18   </ModalHeader>
19   <ModalBody>
20     <WithStyles(Component)
21       columns={
22         Array [
23           Object {
24             "cellStyle": Object {
25               "border": "1px solid black",
26             },
27             "field": "index",
28             "headerStyle": Object {
29               "backgroundColor": "#ddd",
30               "border": "2px solid black",
31             },
32             "render": [Function],
33             "title": "#",
34           },
35           Object {
36             "cellStyle": Object {
37               "border": "1px solid black",
38             },
39             "field": "toscaModelName",
40             "headerStyle": Object {
41               "backgroundColor": "#ddd",
42               "border": "2px solid black",
43             },
44             "title": "Micro Service Name",
45           },
46           Object {
47             "cellStyle": Object {
48               "border": "1px solid black",
49             },
50             "field": "policyType",
51             "headerStyle": Object {
52               "backgroundColor": "#ddd",
53               "border": "2px solid black",
54             },
55             "title": "PolicyType",
56           },
57           Object {
58             "cellStyle": Object {
59               "border": "1px solid black",
60             },
61             "field": "version",
62             "headerStyle": Object {
63               "backgroundColor": "#ddd",
64               "border": "2px solid black",
65             },
66             "title": "Version",
67           },
68           Object {
69             "cellStyle": Object {
70               "border": "1px solid black",
71             },
72             "field": "userId",
73             "headerStyle": Object {
74               "backgroundColor": "#ddd",
75               "border": "2px solid black",
76             },
77             "title": "Uploaded By",
78           },
79           Object {
80             "cellStyle": Object {
81               "border": "1px solid black",
82             },
83             "editable": "never",
84             "field": "lastUpdatedDate",
85             "headerStyle": Object {
86               "backgroundColor": "#ddd",
87               "border": "2px solid black",
88             },
89             "title": "Uploaded Date",
90           },
91         ]
92       }
93       data={
94         Object {
95           "index": "1",
96           "lastUpdatedDate": "05-07-2019 19:09:42",
97           "policyType": "mtca",
98           "toscaModelName": "DCAE_MTCAConfig",
99           "toscaModelYaml": "MTCA",
100           "userId": "aj928f",
101           "version": "16",
102         }
103       }
104       icons={
105         Object {
106           "FirstPage": Object {
107             "$$typeof": Symbol(react.forward_ref),
108             "render": [Function],
109           },
110           "LastPage": Object {
111             "$$typeof": Symbol(react.forward_ref),
112             "render": [Function],
113           },
114           "NextPage": Object {
115             "$$typeof": Symbol(react.forward_ref),
116             "render": [Function],
117           },
118           "PreviousPage": Object {
119             "$$typeof": Symbol(react.forward_ref),
120             "render": [Function],
121           },
122           "ResetSearch": Object {
123             "$$typeof": Symbol(react.forward_ref),
124             "render": [Function],
125           },
126           "Search": Object {
127             "$$typeof": Symbol(react.forward_ref),
128             "render": [Function],
129           },
130           "SortArrow": Object {
131             "$$typeof": Symbol(react.forward_ref),
132             "render": [Function],
133           },
134         }
135       }
136       onRowClick={[Function]}
137       options={
138         Object {
139           "headerStyle": Object {
140             "backgroundColor": "#ddd",
141             "border": "1px solid black",
142             "fontSize": "15pt",
143             "text": "bold",
144           },
145           "rowStyle": [Function],
146         }
147       }
148       title="View ToscaModel"
149     />
150     <styled.div>
151       <styled.textarea
152         onChange={[Function]}
153         value="Please select Tosca model to view the details"
154       />
155     </styled.div>
156   </ModalBody>
157   <ModalFooter>
158     <Button
159       active={false}
160       disabled={false}
161       onClick={[Function]}
162       type="button"
163       variant="secondary"
164     >
165       Close
166     </Button>
167   </ModalFooter>
168 </Styled(Bootstrap(Modal))>
169 `;