]> source.dussan.org Git - sonarqube.git/blob
5a3af1e526019f0764518812559c603522801ec0
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: Azure DevOps 1`] = `
4 <div
5   className="boxed-group-inner bordered spacer-top spacer-bottom it__alm-binding-definition"
6 >
7   <div
8     className="actions pull-right"
9   >
10     <Button
11       onClick={[Function]}
12     >
13       <EditIcon
14         className="spacer-right"
15       />
16       edit
17     </Button>
18     <Button
19       className="button-red spacer-left"
20       onClick={[Function]}
21     >
22       <DeleteIcon
23         className="spacer-right"
24       />
25       delete
26     </Button>
27   </div>
28   <div
29     className="big-spacer-bottom"
30   >
31     <h3>
32       key
33     </h3>
34   </div>
35   <i
36     className="spinner spacer-right"
37   />
38   settings.almintegration.checking_configuration
39 </div>
40 `;
41
42 exports[`should render correctly: default 1`] = `
43 <div
44   className="boxed-group-inner bordered spacer-top spacer-bottom it__alm-binding-definition"
45 >
46   <div
47     className="actions pull-right"
48   >
49     <Button
50       onClick={[Function]}
51     >
52       <EditIcon
53         className="spacer-right"
54       />
55       edit
56     </Button>
57     <Button
58       className="button-red spacer-left"
59       onClick={[Function]}
60     >
61       <DeleteIcon
62         className="spacer-right"
63       />
64       delete
65     </Button>
66   </div>
67   <div
68     className="big-spacer-bottom"
69   >
70     <h3>
71       key
72     </h3>
73     <span>
74       http://github.enterprise.com
75     </span>
76   </div>
77   <i
78     className="spinner spacer-right"
79   />
80   settings.almintegration.checking_configuration
81 </div>
82 `;
83
84 exports[`should render correctly: error 1`] = `
85 <div
86   className="boxed-group-inner bordered spacer-top spacer-bottom it__alm-binding-definition"
87 >
88   <div
89     className="actions pull-right"
90   >
91     <Button
92       onClick={[Function]}
93     >
94       <EditIcon
95         className="spacer-right"
96       />
97       edit
98     </Button>
99     <Button
100       className="button-red spacer-left"
101       onClick={[Function]}
102     >
103       <DeleteIcon
104         className="spacer-right"
105       />
106       delete
107     </Button>
108   </div>
109   <div
110     className="big-spacer-bottom"
111   >
112     <h3>
113       key
114     </h3>
115     <span>
116       http://github.enterprise.com
117     </span>
118   </div>
119   <div
120     className="display-flex-row spacer-bottom"
121   >
122     <Tooltip
123       overlay="settings.almintegration.feature.pr_decoration.description"
124     >
125       <div
126         className="huge-spacer-right"
127       >
128         settings.almintegration.feature.pr_decoration.title
129         <AlertErrorIcon
130           className="spacer-left"
131         />
132       </div>
133     </Tooltip>
134     <div>
135       <Tooltip
136         overlay="settings.almintegration.feature.alm_repo_import.description"
137       >
138         <span>
139           settings.almintegration.feature.alm_repo_import.title
140         </span>
141       </Tooltip>
142       <AlertErrorIcon
143         className="spacer-left"
144       />
145     </div>
146   </div>
147   <div
148     className="width-50"
149   >
150     <Alert
151       variant="error"
152     >
153       Oops, something went wrong
154     </Alert>
155   </div>
156   <Button
157     className="big-spacer-top"
158     onClick={[Function]}
159   >
160     settings.almintegration.check_configuration
161   </Button>
162 </div>
163 `;
164
165 exports[`should render correctly: multiple definitions 1`] = `
166 <div
167   className="boxed-group-inner bordered spacer-top spacer-bottom it__alm-binding-definition"
168 >
169   <div
170     className="actions pull-right"
171   >
172     <Button
173       onClick={[Function]}
174     >
175       <EditIcon
176         className="spacer-right"
177       />
178       edit
179     </Button>
180     <Button
181       className="button-red spacer-left"
182       onClick={[Function]}
183     >
184       <DeleteIcon
185         className="spacer-right"
186       />
187       delete
188     </Button>
189   </div>
190   <div
191     className="big-spacer-bottom"
192   >
193     <h3>
194       key
195     </h3>
196     <span>
197       http://github.enterprise.com
198     </span>
199   </div>
200   <i
201     className="spinner spacer-right"
202   />
203   settings.almintegration.checking_configuration
204 </div>
205 `;
206
207 exports[`should render correctly: success 1`] = `
208 <div
209   className="boxed-group-inner bordered spacer-top spacer-bottom it__alm-binding-definition"
210 >
211   <div
212     className="actions pull-right"
213   >
214     <Button
215       onClick={[Function]}
216     >
217       <EditIcon
218         className="spacer-right"
219       />
220       edit
221     </Button>
222     <Button
223       className="button-red spacer-left"
224       onClick={[Function]}
225     >
226       <DeleteIcon
227         className="spacer-right"
228       />
229       delete
230     </Button>
231   </div>
232   <div
233     className="big-spacer-bottom"
234   >
235     <h3>
236       key
237     </h3>
238     <span>
239       http://github.enterprise.com
240     </span>
241   </div>
242   <div
243     className="display-flex-row spacer-bottom"
244   >
245     <Tooltip
246       overlay="settings.almintegration.feature.pr_decoration.description"
247     >
248       <div
249         className="huge-spacer-right"
250       >
251         settings.almintegration.feature.pr_decoration.title
252         <AlertSuccessIcon
253           className="spacer-left"
254         />
255       </div>
256     </Tooltip>
257     <div>
258       <Tooltip
259         overlay="settings.almintegration.feature.alm_repo_import.description"
260       >
261         <span>
262           settings.almintegration.feature.alm_repo_import.title
263         </span>
264       </Tooltip>
265       <AlertSuccessIcon
266         className="spacer-left"
267       />
268     </div>
269   </div>
270   <div
271     className="width-50"
272   />
273   <Button
274     className="big-spacer-top"
275     onClick={[Function]}
276   >
277     settings.almintegration.check_configuration
278   </Button>
279 </div>
280 `;
281
282 exports[`should render correctly: success with alert 1`] = `
283 <div
284   className="boxed-group-inner bordered spacer-top spacer-bottom it__alm-binding-definition"
285 >
286   <div
287     className="actions pull-right"
288   >
289     <Button
290       onClick={[Function]}
291     >
292       <EditIcon
293         className="spacer-right"
294       />
295       edit
296     </Button>
297     <Button
298       className="button-red spacer-left"
299       onClick={[Function]}
300     >
301       <DeleteIcon
302         className="spacer-right"
303       />
304       delete
305     </Button>
306   </div>
307   <div
308     className="big-spacer-bottom"
309   >
310     <h3>
311       key
312     </h3>
313     <span>
314       http://github.enterprise.com
315     </span>
316   </div>
317   <div
318     className="display-flex-row spacer-bottom"
319   >
320     <Tooltip
321       overlay="settings.almintegration.feature.pr_decoration.description"
322     >
323       <div
324         className="huge-spacer-right"
325       >
326         settings.almintegration.feature.pr_decoration.title
327         <AlertSuccessIcon
328           className="spacer-left"
329         />
330       </div>
331     </Tooltip>
332     <div>
333       <Tooltip
334         overlay="settings.almintegration.feature.alm_repo_import.description"
335       >
336         <span>
337           settings.almintegration.feature.alm_repo_import.title
338         </span>
339       </Tooltip>
340       <AlertSuccessIcon
341         className="spacer-left"
342       />
343     </div>
344   </div>
345   <div
346     className="width-50"
347   >
348     <Alert
349       variant="success"
350     >
351       settings.almintegration.configuration_valid
352     </Alert>
353   </div>
354   <Button
355     className="big-spacer-top"
356     onClick={[Function]}
357   >
358     settings.almintegration.check_configuration
359   </Button>
360 </div>
361 `;
362
363 exports[`should render correctly: warning 1`] = `
364 <div
365   className="boxed-group-inner bordered spacer-top spacer-bottom it__alm-binding-definition"
366 >
367   <div
368     className="actions pull-right"
369   >
370     <Button
371       onClick={[Function]}
372     >
373       <EditIcon
374         className="spacer-right"
375       />
376       edit
377     </Button>
378     <Button
379       className="button-red spacer-left"
380       onClick={[Function]}
381     >
382       <DeleteIcon
383         className="spacer-right"
384       />
385       delete
386     </Button>
387   </div>
388   <div
389     className="big-spacer-bottom"
390   >
391     <h3>
392       key
393     </h3>
394     <span>
395       http://github.enterprise.com
396     </span>
397   </div>
398   <div
399     className="width-50"
400   >
401     <Alert
402       variant="warning"
403     >
404       settings.almintegration.could_not_validate
405     </Alert>
406   </div>
407   <Button
408     className="big-spacer-top"
409     onClick={[Function]}
410   >
411     settings.almintegration.check_configuration
412   </Button>
413 </div>
414 `;