]> source.dussan.org Git - sonarqube.git/blob
d0f786cb32b9c0e8b147bbf0c60f9d67987c4a93
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <div
5   className="abs-width-400"
6 >
7   <div
8     className="big-padded"
9   >
10     <Radio
11       alignLabel={true}
12       checked={true}
13       className="big-spacer-bottom status-radio"
14       onCheck={[MockFunction]}
15       value="TO_REVIEW"
16     >
17       <StatusDescription
18         statusInBadge={false}
19         statusOption="TO_REVIEW"
20       />
21     </Radio>
22     <Radio
23       alignLabel={true}
24       checked={false}
25       className="big-spacer-bottom status-radio"
26       onCheck={[MockFunction]}
27       value="ACKNOWLEDGED"
28     >
29       <StatusDescription
30         statusInBadge={false}
31         statusOption="ACKNOWLEDGED"
32       />
33     </Radio>
34     <Radio
35       alignLabel={true}
36       checked={false}
37       className="big-spacer-bottom status-radio"
38       onCheck={[MockFunction]}
39       value="FIXED"
40     >
41       <StatusDescription
42         statusInBadge={false}
43         statusOption="FIXED"
44       />
45     </Radio>
46     <Radio
47       alignLabel={true}
48       checked={false}
49       className="big-spacer-bottom status-radio"
50       onCheck={[MockFunction]}
51       value="SAFE"
52     >
53       <StatusDescription
54         statusInBadge={false}
55         statusOption="SAFE"
56       />
57     </Radio>
58   </div>
59   <hr />
60   <div
61     className="big-padded display-flex-column"
62   >
63     <label
64       className="text-bold"
65       htmlFor="comment-textarea"
66     >
67       hotspots.status.add_comment
68     </label>
69     <textarea
70       className="spacer-top form-field fixed-width spacer-bottom"
71       id="comment-textarea"
72       onChange={[Function]}
73       rows={4}
74       value="TEST-COMMENT"
75     />
76     <FormattingTips />
77     <div
78       className="big-spacer-top display-flex-justify-end display-flex-center"
79     >
80       <SubmitButton
81         disabled={false}
82         onClick={[MockFunction]}
83       >
84         hotspots.status.change_status
85       </SubmitButton>
86     </div>
87   </div>
88 </div>
89 `;
90
91 exports[`should render correctly: loading 1`] = `
92 <div
93   className="abs-width-400"
94 >
95   <div
96     className="big-padded"
97   >
98     <Radio
99       alignLabel={true}
100       checked={true}
101       className="big-spacer-bottom status-radio"
102       onCheck={[MockFunction]}
103       value="TO_REVIEW"
104     >
105       <StatusDescription
106         statusInBadge={false}
107         statusOption="TO_REVIEW"
108       />
109     </Radio>
110     <Radio
111       alignLabel={true}
112       checked={false}
113       className="big-spacer-bottom status-radio"
114       onCheck={[MockFunction]}
115       value="ACKNOWLEDGED"
116     >
117       <StatusDescription
118         statusInBadge={false}
119         statusOption="ACKNOWLEDGED"
120       />
121     </Radio>
122     <Radio
123       alignLabel={true}
124       checked={false}
125       className="big-spacer-bottom status-radio"
126       onCheck={[MockFunction]}
127       value="FIXED"
128     >
129       <StatusDescription
130         statusInBadge={false}
131         statusOption="FIXED"
132       />
133     </Radio>
134     <Radio
135       alignLabel={true}
136       checked={false}
137       className="big-spacer-bottom status-radio"
138       onCheck={[MockFunction]}
139       value="SAFE"
140     >
141       <StatusDescription
142         statusInBadge={false}
143         statusOption="SAFE"
144       />
145     </Radio>
146   </div>
147   <hr />
148   <div
149     className="big-padded display-flex-column"
150   >
151     <label
152       className="text-bold"
153       htmlFor="comment-textarea"
154     >
155       hotspots.status.add_comment
156     </label>
157     <textarea
158       className="spacer-top form-field fixed-width spacer-bottom"
159       id="comment-textarea"
160       onChange={[Function]}
161       rows={4}
162       value="TEST-COMMENT"
163     />
164     <FormattingTips />
165     <div
166       className="big-spacer-top display-flex-justify-end display-flex-center"
167     >
168       <SubmitButton
169         disabled={true}
170         onClick={[MockFunction]}
171       >
172         hotspots.status.change_status
173       </SubmitButton>
174       <i
175         className="spacer-left spinner"
176       />
177     </div>
178   </div>
179 </div>
180 `;