]> source.dussan.org Git - sonarqube.git/blob
716dfc0dca719ec4818afc325611a537f5895a3e
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <DeferredSpinner
5   loading={false}
6   timeout={100}
7 >
8   <div
9     className="big-padded"
10   >
11     <div
12       className="big-spacer-bottom"
13     >
14       <div
15         className="display-flex-space-between"
16       >
17         <h1>
18           '3' is a magic number.
19         </h1>
20       </div>
21       <div
22         className="text-muted"
23       >
24         <span>
25           hotspot.category
26         </span>
27         <span
28           className="little-spacer-left"
29         >
30           SQL injection
31         </span>
32       </div>
33     </div>
34     <div
35       className="huge-spacer-bottom"
36     >
37       <span>
38         hotspot.status
39       </span>
40       <span
41         className="badge little-spacer-left"
42       >
43         hotspot.status.FIXED
44       </span>
45       <span
46         className="huge-spacer-left"
47       >
48         hotspot.assigned_to
49       </span>
50       <strong
51         className="little-spacer-left"
52       >
53         John Doe
54       </strong>
55     </div>
56     <HotspotSnippetContainer
57       hotspot={
58         Object {
59           "assignee": Object {
60             "active": true,
61             "local": true,
62             "login": "john.doe",
63             "name": "John Doe",
64           },
65           "author": Object {
66             "active": true,
67             "local": true,
68             "login": "john.doe",
69             "name": "John Doe",
70           },
71           "component": Object {
72             "breadcrumbs": Array [],
73             "key": "my-project",
74             "name": "MyProject",
75             "organization": "foo",
76             "qualifier": "FIL",
77             "qualityGate": Object {
78               "isDefault": true,
79               "key": "30",
80               "name": "Sonar way",
81             },
82             "qualityProfiles": Array [
83               Object {
84                 "deleted": false,
85                 "key": "my-qp",
86                 "language": "ts",
87                 "name": "Sonar way",
88               },
89             ],
90             "tags": Array [],
91           },
92           "creationDate": "2013-05-13T17:55:41+0200",
93           "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
94           "line": 142,
95           "message": "'3' is a magic number.",
96           "project": Object {
97             "breadcrumbs": Array [],
98             "key": "my-project",
99             "name": "MyProject",
100             "organization": "foo",
101             "qualifier": "TRK",
102             "qualityGate": Object {
103               "isDefault": true,
104               "key": "30",
105               "name": "Sonar way",
106             },
107             "qualityProfiles": Array [
108               Object {
109                 "deleted": false,
110                 "key": "my-qp",
111                 "language": "ts",
112                 "name": "Sonar way",
113               },
114             ],
115             "tags": Array [],
116           },
117           "resolution": "FIXED",
118           "rule": Object {
119             "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
120             "key": "squid:S2077",
121             "name": "That rule",
122             "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
123             "securityCategory": "sql-injection",
124             "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
125             "vulnerabilityProbability": "HIGH",
126           },
127           "status": "REVIEWED",
128           "textRange": Object {
129             "endLine": 142,
130             "endOffset": 83,
131             "startLine": 142,
132             "startOffset": 26,
133           },
134           "updateDate": "2013-05-13T17:55:42+0200",
135         }
136       }
137     />
138     <HotspotViewerTabs
139       hotspot={
140         Object {
141           "assignee": Object {
142             "active": true,
143             "local": true,
144             "login": "john.doe",
145             "name": "John Doe",
146           },
147           "author": Object {
148             "active": true,
149             "local": true,
150             "login": "john.doe",
151             "name": "John Doe",
152           },
153           "component": Object {
154             "breadcrumbs": Array [],
155             "key": "my-project",
156             "name": "MyProject",
157             "organization": "foo",
158             "qualifier": "FIL",
159             "qualityGate": Object {
160               "isDefault": true,
161               "key": "30",
162               "name": "Sonar way",
163             },
164             "qualityProfiles": Array [
165               Object {
166                 "deleted": false,
167                 "key": "my-qp",
168                 "language": "ts",
169                 "name": "Sonar way",
170               },
171             ],
172             "tags": Array [],
173           },
174           "creationDate": "2013-05-13T17:55:41+0200",
175           "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
176           "line": 142,
177           "message": "'3' is a magic number.",
178           "project": Object {
179             "breadcrumbs": Array [],
180             "key": "my-project",
181             "name": "MyProject",
182             "organization": "foo",
183             "qualifier": "TRK",
184             "qualityGate": Object {
185               "isDefault": true,
186               "key": "30",
187               "name": "Sonar way",
188             },
189             "qualityProfiles": Array [
190               Object {
191                 "deleted": false,
192                 "key": "my-qp",
193                 "language": "ts",
194                 "name": "Sonar way",
195               },
196             ],
197             "tags": Array [],
198           },
199           "resolution": "FIXED",
200           "rule": Object {
201             "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
202             "key": "squid:S2077",
203             "name": "That rule",
204             "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
205             "securityCategory": "sql-injection",
206             "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
207             "vulnerabilityProbability": "HIGH",
208           },
209           "status": "REVIEWED",
210           "textRange": Object {
211             "endLine": 142,
212             "endOffset": 83,
213             "startLine": 142,
214             "startOffset": 26,
215           },
216           "updateDate": "2013-05-13T17:55:42+0200",
217         }
218       }
219     />
220   </div>
221 </DeferredSpinner>
222 `;
223
224 exports[`should render correctly: anonymous user 1`] = `
225 <DeferredSpinner
226   loading={false}
227   timeout={100}
228 >
229   <div
230     className="big-padded"
231   >
232     <div
233       className="big-spacer-bottom"
234     >
235       <div
236         className="display-flex-space-between"
237       >
238         <h1>
239           '3' is a magic number.
240         </h1>
241       </div>
242       <div
243         className="text-muted"
244       >
245         <span>
246           hotspot.category
247         </span>
248         <span
249           className="little-spacer-left"
250         >
251           SQL injection
252         </span>
253       </div>
254     </div>
255     <div
256       className="huge-spacer-bottom"
257     >
258       <span>
259         hotspot.status
260       </span>
261       <span
262         className="badge little-spacer-left"
263       >
264         hotspot.status.FIXED
265       </span>
266       <span
267         className="huge-spacer-left"
268       >
269         hotspot.assigned_to
270       </span>
271       <strong
272         className="little-spacer-left"
273       >
274         John Doe
275       </strong>
276     </div>
277     <HotspotSnippetContainer
278       hotspot={
279         Object {
280           "assignee": Object {
281             "active": true,
282             "local": true,
283             "login": "john.doe",
284             "name": "John Doe",
285           },
286           "author": Object {
287             "active": true,
288             "local": true,
289             "login": "john.doe",
290             "name": "John Doe",
291           },
292           "component": Object {
293             "breadcrumbs": Array [],
294             "key": "my-project",
295             "name": "MyProject",
296             "organization": "foo",
297             "qualifier": "FIL",
298             "qualityGate": Object {
299               "isDefault": true,
300               "key": "30",
301               "name": "Sonar way",
302             },
303             "qualityProfiles": Array [
304               Object {
305                 "deleted": false,
306                 "key": "my-qp",
307                 "language": "ts",
308                 "name": "Sonar way",
309               },
310             ],
311             "tags": Array [],
312           },
313           "creationDate": "2013-05-13T17:55:41+0200",
314           "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
315           "line": 142,
316           "message": "'3' is a magic number.",
317           "project": Object {
318             "breadcrumbs": Array [],
319             "key": "my-project",
320             "name": "MyProject",
321             "organization": "foo",
322             "qualifier": "TRK",
323             "qualityGate": Object {
324               "isDefault": true,
325               "key": "30",
326               "name": "Sonar way",
327             },
328             "qualityProfiles": Array [
329               Object {
330                 "deleted": false,
331                 "key": "my-qp",
332                 "language": "ts",
333                 "name": "Sonar way",
334               },
335             ],
336             "tags": Array [],
337           },
338           "resolution": "FIXED",
339           "rule": Object {
340             "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
341             "key": "squid:S2077",
342             "name": "That rule",
343             "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
344             "securityCategory": "sql-injection",
345             "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
346             "vulnerabilityProbability": "HIGH",
347           },
348           "status": "REVIEWED",
349           "textRange": Object {
350             "endLine": 142,
351             "endOffset": 83,
352             "startLine": 142,
353             "startOffset": 26,
354           },
355           "updateDate": "2013-05-13T17:55:42+0200",
356         }
357       }
358     />
359     <HotspotViewerTabs
360       hotspot={
361         Object {
362           "assignee": Object {
363             "active": true,
364             "local": true,
365             "login": "john.doe",
366             "name": "John Doe",
367           },
368           "author": Object {
369             "active": true,
370             "local": true,
371             "login": "john.doe",
372             "name": "John Doe",
373           },
374           "component": Object {
375             "breadcrumbs": Array [],
376             "key": "my-project",
377             "name": "MyProject",
378             "organization": "foo",
379             "qualifier": "FIL",
380             "qualityGate": Object {
381               "isDefault": true,
382               "key": "30",
383               "name": "Sonar way",
384             },
385             "qualityProfiles": Array [
386               Object {
387                 "deleted": false,
388                 "key": "my-qp",
389                 "language": "ts",
390                 "name": "Sonar way",
391               },
392             ],
393             "tags": Array [],
394           },
395           "creationDate": "2013-05-13T17:55:41+0200",
396           "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
397           "line": 142,
398           "message": "'3' is a magic number.",
399           "project": Object {
400             "breadcrumbs": Array [],
401             "key": "my-project",
402             "name": "MyProject",
403             "organization": "foo",
404             "qualifier": "TRK",
405             "qualityGate": Object {
406               "isDefault": true,
407               "key": "30",
408               "name": "Sonar way",
409             },
410             "qualityProfiles": Array [
411               Object {
412                 "deleted": false,
413                 "key": "my-qp",
414                 "language": "ts",
415                 "name": "Sonar way",
416               },
417             ],
418             "tags": Array [],
419           },
420           "resolution": "FIXED",
421           "rule": Object {
422             "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
423             "key": "squid:S2077",
424             "name": "That rule",
425             "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
426             "securityCategory": "sql-injection",
427             "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
428             "vulnerabilityProbability": "HIGH",
429           },
430           "status": "REVIEWED",
431           "textRange": Object {
432             "endLine": 142,
433             "endOffset": 83,
434             "startLine": 142,
435             "startOffset": 26,
436           },
437           "updateDate": "2013-05-13T17:55:42+0200",
438         }
439       }
440     />
441   </div>
442 </DeferredSpinner>
443 `;
444
445 exports[`should render correctly: deleted assignee 1`] = `
446 <DeferredSpinner
447   loading={false}
448   timeout={100}
449 >
450   <div
451     className="big-padded"
452   >
453     <div
454       className="big-spacer-bottom"
455     >
456       <div
457         className="display-flex-space-between"
458       >
459         <h1>
460           '3' is a magic number.
461         </h1>
462       </div>
463       <div
464         className="text-muted"
465       >
466         <span>
467           hotspot.category
468         </span>
469         <span
470           className="little-spacer-left"
471         >
472           SQL injection
473         </span>
474       </div>
475     </div>
476     <div
477       className="huge-spacer-bottom"
478     >
479       <span>
480         hotspot.status
481       </span>
482       <span
483         className="badge little-spacer-left"
484       >
485         hotspot.status.FIXED
486       </span>
487       <span
488         className="huge-spacer-left"
489       >
490         hotspot.assigned_to
491       </span>
492       <strong
493         className="little-spacer-left"
494       >
495         user.x_deleted.John Doe
496       </strong>
497     </div>
498     <HotspotSnippetContainer
499       hotspot={
500         Object {
501           "assignee": Object {
502             "active": false,
503             "local": true,
504             "login": "john.doe",
505             "name": "John Doe",
506           },
507           "author": Object {
508             "active": true,
509             "local": true,
510             "login": "john.doe",
511             "name": "John Doe",
512           },
513           "component": Object {
514             "breadcrumbs": Array [],
515             "key": "my-project",
516             "name": "MyProject",
517             "organization": "foo",
518             "qualifier": "FIL",
519             "qualityGate": Object {
520               "isDefault": true,
521               "key": "30",
522               "name": "Sonar way",
523             },
524             "qualityProfiles": Array [
525               Object {
526                 "deleted": false,
527                 "key": "my-qp",
528                 "language": "ts",
529                 "name": "Sonar way",
530               },
531             ],
532             "tags": Array [],
533           },
534           "creationDate": "2013-05-13T17:55:41+0200",
535           "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
536           "line": 142,
537           "message": "'3' is a magic number.",
538           "project": Object {
539             "breadcrumbs": Array [],
540             "key": "my-project",
541             "name": "MyProject",
542             "organization": "foo",
543             "qualifier": "TRK",
544             "qualityGate": Object {
545               "isDefault": true,
546               "key": "30",
547               "name": "Sonar way",
548             },
549             "qualityProfiles": Array [
550               Object {
551                 "deleted": false,
552                 "key": "my-qp",
553                 "language": "ts",
554                 "name": "Sonar way",
555               },
556             ],
557             "tags": Array [],
558           },
559           "resolution": "FIXED",
560           "rule": Object {
561             "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
562             "key": "squid:S2077",
563             "name": "That rule",
564             "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
565             "securityCategory": "sql-injection",
566             "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
567             "vulnerabilityProbability": "HIGH",
568           },
569           "status": "REVIEWED",
570           "textRange": Object {
571             "endLine": 142,
572             "endOffset": 83,
573             "startLine": 142,
574             "startOffset": 26,
575           },
576           "updateDate": "2013-05-13T17:55:42+0200",
577         }
578       }
579     />
580     <HotspotViewerTabs
581       hotspot={
582         Object {
583           "assignee": Object {
584             "active": false,
585             "local": true,
586             "login": "john.doe",
587             "name": "John Doe",
588           },
589           "author": Object {
590             "active": true,
591             "local": true,
592             "login": "john.doe",
593             "name": "John Doe",
594           },
595           "component": Object {
596             "breadcrumbs": Array [],
597             "key": "my-project",
598             "name": "MyProject",
599             "organization": "foo",
600             "qualifier": "FIL",
601             "qualityGate": Object {
602               "isDefault": true,
603               "key": "30",
604               "name": "Sonar way",
605             },
606             "qualityProfiles": Array [
607               Object {
608                 "deleted": false,
609                 "key": "my-qp",
610                 "language": "ts",
611                 "name": "Sonar way",
612               },
613             ],
614             "tags": Array [],
615           },
616           "creationDate": "2013-05-13T17:55:41+0200",
617           "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
618           "line": 142,
619           "message": "'3' is a magic number.",
620           "project": Object {
621             "breadcrumbs": Array [],
622             "key": "my-project",
623             "name": "MyProject",
624             "organization": "foo",
625             "qualifier": "TRK",
626             "qualityGate": Object {
627               "isDefault": true,
628               "key": "30",
629               "name": "Sonar way",
630             },
631             "qualityProfiles": Array [
632               Object {
633                 "deleted": false,
634                 "key": "my-qp",
635                 "language": "ts",
636                 "name": "Sonar way",
637               },
638             ],
639             "tags": Array [],
640           },
641           "resolution": "FIXED",
642           "rule": Object {
643             "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
644             "key": "squid:S2077",
645             "name": "That rule",
646             "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
647             "securityCategory": "sql-injection",
648             "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
649             "vulnerabilityProbability": "HIGH",
650           },
651           "status": "REVIEWED",
652           "textRange": Object {
653             "endLine": 142,
654             "endOffset": 83,
655             "startLine": 142,
656             "startOffset": 26,
657           },
658           "updateDate": "2013-05-13T17:55:42+0200",
659         }
660       }
661     />
662   </div>
663 </DeferredSpinner>
664 `;
665
666 exports[`should render correctly: no hotspot 1`] = `
667 <DeferredSpinner
668   loading={false}
669   timeout={100}
670 />
671 `;
672
673 exports[`should render correctly: user logged in 1`] = `
674 <DeferredSpinner
675   loading={false}
676   timeout={100}
677 >
678   <div
679     className="big-padded"
680   >
681     <div
682       className="big-spacer-bottom"
683     >
684       <div
685         className="display-flex-space-between"
686       >
687         <h1>
688           '3' is a magic number.
689         </h1>
690         <HotspotActions
691           hotspot={
692             Object {
693               "assignee": Object {
694                 "active": true,
695                 "local": true,
696                 "login": "john.doe",
697                 "name": "John Doe",
698               },
699               "author": Object {
700                 "active": true,
701                 "local": true,
702                 "login": "john.doe",
703                 "name": "John Doe",
704               },
705               "component": Object {
706                 "breadcrumbs": Array [],
707                 "key": "my-project",
708                 "name": "MyProject",
709                 "organization": "foo",
710                 "qualifier": "FIL",
711                 "qualityGate": Object {
712                   "isDefault": true,
713                   "key": "30",
714                   "name": "Sonar way",
715                 },
716                 "qualityProfiles": Array [
717                   Object {
718                     "deleted": false,
719                     "key": "my-qp",
720                     "language": "ts",
721                     "name": "Sonar way",
722                   },
723                 ],
724                 "tags": Array [],
725               },
726               "creationDate": "2013-05-13T17:55:41+0200",
727               "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
728               "line": 142,
729               "message": "'3' is a magic number.",
730               "project": Object {
731                 "breadcrumbs": Array [],
732                 "key": "my-project",
733                 "name": "MyProject",
734                 "organization": "foo",
735                 "qualifier": "TRK",
736                 "qualityGate": Object {
737                   "isDefault": true,
738                   "key": "30",
739                   "name": "Sonar way",
740                 },
741                 "qualityProfiles": Array [
742                   Object {
743                     "deleted": false,
744                     "key": "my-qp",
745                     "language": "ts",
746                     "name": "Sonar way",
747                   },
748                 ],
749                 "tags": Array [],
750               },
751               "resolution": "FIXED",
752               "rule": Object {
753                 "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
754                 "key": "squid:S2077",
755                 "name": "That rule",
756                 "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
757                 "securityCategory": "sql-injection",
758                 "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
759                 "vulnerabilityProbability": "HIGH",
760               },
761               "status": "REVIEWED",
762               "textRange": Object {
763                 "endLine": 142,
764                 "endOffset": 83,
765                 "startLine": 142,
766                 "startOffset": 26,
767               },
768               "updateDate": "2013-05-13T17:55:42+0200",
769             }
770           }
771           onSubmit={[MockFunction]}
772         />
773       </div>
774       <div
775         className="text-muted"
776       >
777         <span>
778           hotspot.category
779         </span>
780         <span
781           className="little-spacer-left"
782         >
783           SQL injection
784         </span>
785       </div>
786     </div>
787     <div
788       className="huge-spacer-bottom"
789     >
790       <span>
791         hotspot.status
792       </span>
793       <span
794         className="badge little-spacer-left"
795       >
796         hotspot.status.FIXED
797       </span>
798       <span
799         className="huge-spacer-left"
800       >
801         hotspot.assigned_to
802       </span>
803       <strong
804         className="little-spacer-left"
805       >
806         John Doe
807       </strong>
808     </div>
809     <HotspotSnippetContainer
810       hotspot={
811         Object {
812           "assignee": Object {
813             "active": true,
814             "local": true,
815             "login": "john.doe",
816             "name": "John Doe",
817           },
818           "author": Object {
819             "active": true,
820             "local": true,
821             "login": "john.doe",
822             "name": "John Doe",
823           },
824           "component": Object {
825             "breadcrumbs": Array [],
826             "key": "my-project",
827             "name": "MyProject",
828             "organization": "foo",
829             "qualifier": "FIL",
830             "qualityGate": Object {
831               "isDefault": true,
832               "key": "30",
833               "name": "Sonar way",
834             },
835             "qualityProfiles": Array [
836               Object {
837                 "deleted": false,
838                 "key": "my-qp",
839                 "language": "ts",
840                 "name": "Sonar way",
841               },
842             ],
843             "tags": Array [],
844           },
845           "creationDate": "2013-05-13T17:55:41+0200",
846           "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
847           "line": 142,
848           "message": "'3' is a magic number.",
849           "project": Object {
850             "breadcrumbs": Array [],
851             "key": "my-project",
852             "name": "MyProject",
853             "organization": "foo",
854             "qualifier": "TRK",
855             "qualityGate": Object {
856               "isDefault": true,
857               "key": "30",
858               "name": "Sonar way",
859             },
860             "qualityProfiles": Array [
861               Object {
862                 "deleted": false,
863                 "key": "my-qp",
864                 "language": "ts",
865                 "name": "Sonar way",
866               },
867             ],
868             "tags": Array [],
869           },
870           "resolution": "FIXED",
871           "rule": Object {
872             "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
873             "key": "squid:S2077",
874             "name": "That rule",
875             "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
876             "securityCategory": "sql-injection",
877             "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
878             "vulnerabilityProbability": "HIGH",
879           },
880           "status": "REVIEWED",
881           "textRange": Object {
882             "endLine": 142,
883             "endOffset": 83,
884             "startLine": 142,
885             "startOffset": 26,
886           },
887           "updateDate": "2013-05-13T17:55:42+0200",
888         }
889       }
890     />
891     <HotspotViewerTabs
892       hotspot={
893         Object {
894           "assignee": Object {
895             "active": true,
896             "local": true,
897             "login": "john.doe",
898             "name": "John Doe",
899           },
900           "author": Object {
901             "active": true,
902             "local": true,
903             "login": "john.doe",
904             "name": "John Doe",
905           },
906           "component": Object {
907             "breadcrumbs": Array [],
908             "key": "my-project",
909             "name": "MyProject",
910             "organization": "foo",
911             "qualifier": "FIL",
912             "qualityGate": Object {
913               "isDefault": true,
914               "key": "30",
915               "name": "Sonar way",
916             },
917             "qualityProfiles": Array [
918               Object {
919                 "deleted": false,
920                 "key": "my-qp",
921                 "language": "ts",
922                 "name": "Sonar way",
923               },
924             ],
925             "tags": Array [],
926           },
927           "creationDate": "2013-05-13T17:55:41+0200",
928           "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
929           "line": 142,
930           "message": "'3' is a magic number.",
931           "project": Object {
932             "breadcrumbs": Array [],
933             "key": "my-project",
934             "name": "MyProject",
935             "organization": "foo",
936             "qualifier": "TRK",
937             "qualityGate": Object {
938               "isDefault": true,
939               "key": "30",
940               "name": "Sonar way",
941             },
942             "qualityProfiles": Array [
943               Object {
944                 "deleted": false,
945                 "key": "my-qp",
946                 "language": "ts",
947                 "name": "Sonar way",
948               },
949             ],
950             "tags": Array [],
951           },
952           "resolution": "FIXED",
953           "rule": Object {
954             "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
955             "key": "squid:S2077",
956             "name": "That rule",
957             "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
958             "securityCategory": "sql-injection",
959             "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
960             "vulnerabilityProbability": "HIGH",
961           },
962           "status": "REVIEWED",
963           "textRange": Object {
964             "endLine": 142,
965             "endOffset": 83,
966             "startLine": 142,
967             "startOffset": 26,
968           },
969           "updateDate": "2013-05-13T17:55:42+0200",
970         }
971       }
972     />
973   </div>
974 </DeferredSpinner>
975 `;