84168fd924a74f5347938f26fd724e85e1f9097e
[policy/gui.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`Verify GetLocalToscaFileForUpload renders correctly 1`] = `
4 <Styled(Modal)
5   backdrop="static"
6   keyboard={false}
7   onHide={[Function]}
8   show={true}
9   size="lg"
10 >
11   <ModalHeader
12     closeButton={true}
13     closeLabel="Close"
14   >
15     <ModalTitle>
16       Upload Tosca to Commissioning API
17     </ModalTitle>
18   </ModalHeader>
19   <br />
20   <div
21     style={
22       Object {
23         "padding": "5px 5px 0px 5px",
24       }
25     }
26   >
27     <ModalBody>
28       <Form
29         inline={false}
30         style={
31           Object {
32             "paddingTop": "20px",
33           }
34         }
35       >
36         <FormGroup
37           as={
38             Object {
39               "$$typeof": Symbol(react.forward_ref),
40               "defaultProps": Object {
41                 "noGutters": false,
42               },
43               "render": [Function],
44             }
45           }
46         >
47           <FormFile
48             accept=".yaml,.yml,.json"
49             className="custom-file-label"
50             custom={true}
51             id="inputGroupFile01"
52             label="Please select a file"
53             onChange={[Function]}
54             type="file"
55           />
56           <FormText>
57             Only .yaml, .yml and .json files are supported
58           </FormText>
59         </FormGroup>
60         <FormGroup
61           as={
62             Object {
63               "$$typeof": Symbol(react.forward_ref),
64               "defaultProps": Object {
65                 "noGutters": false,
66               },
67               "render": [Function],
68             }
69           }
70         >
71           <UploadToscaFile
72             onResponseReceived={[Function]}
73             toscaObject={Object {}}
74           />
75         </FormGroup>
76         <FormGroup
77           as={
78             Object {
79               "$$typeof": Symbol(react.forward_ref),
80               "defaultProps": Object {
81                 "noGutters": false,
82               },
83               "render": [Function],
84             }
85           }
86         >
87           <styled.div />
88         </FormGroup>
89       </Form>
90     </ModalBody>
91   </div>
92   <ModalFooter>
93     <Button
94       active={false}
95       disabled={false}
96       onClick={[Function]}
97       variant="secondary"
98     >
99       Close
100     </Button>
101   </ModalFooter>
102 </Styled(Modal)>
103 `;