]> source.dussan.org Git - sonarqube.git/blob
8819cf6af17d0464e3d002bb688205ac811af1c8
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should handle missing quality profiles and quality gates 1`] = `
4 <Fragment>
5   <div>
6     <h2
7       className="big-padded bordered-bottom"
8     >
9       project.info.title
10     </h2>
11   </div>
12   <div
13     className="overflow-y-auto"
14   >
15     <div
16       className="big-padded bordered-bottom"
17     >
18       <div
19         className="display-flex-center"
20       >
21         <h3
22           className="spacer-right"
23         >
24           project.info.description
25         </h3>
26       </div>
27       <MetaTags
28         component={
29           Object {
30             "breadcrumbs": Array [],
31             "key": "my-project",
32             "name": "MyProject",
33             "organization": "foo",
34             "qualifier": "TRK",
35             "qualityGate": undefined,
36             "qualityProfiles": undefined,
37             "tags": Array [],
38           }
39         }
40         onComponentChange={[MockFunction]}
41       />
42     </div>
43     <div
44       className="big-padded bordered-bottom it__project-loc-value"
45     >
46       <MetaSize
47         component={
48           Object {
49             "breadcrumbs": Array [],
50             "key": "my-project",
51             "name": "MyProject",
52             "organization": "foo",
53             "qualifier": "TRK",
54             "qualityGate": undefined,
55             "qualityProfiles": undefined,
56             "tags": Array [],
57           }
58         }
59         measures={Array []}
60       />
61     </div>
62     <MetaLinks
63       component={
64         Object {
65           "breadcrumbs": Array [],
66           "key": "my-project",
67           "name": "MyProject",
68           "organization": "foo",
69           "qualifier": "TRK",
70           "qualityGate": undefined,
71           "qualityProfiles": undefined,
72           "tags": Array [],
73         }
74       }
75     />
76     <div
77       className="big-padded bordered-bottom"
78     >
79       <MetaKey
80         componentKey="my-project"
81         qualifier="TRK"
82       />
83     </div>
84     <Memo(DrawerLink)
85       label="overview.badges.get_badge.TRK"
86       onPageChange={[MockFunction]}
87       to={1}
88     />
89     <Memo(DrawerLink)
90       label="project.info.to_notifications"
91       onPageChange={[MockFunction]}
92       to={2}
93     />
94   </div>
95 </Fragment>
96 `;
97
98 exports[`should render a private project correctly 1`] = `
99 <Fragment>
100   <div>
101     <h2
102       className="big-padded bordered-bottom"
103     >
104       project.info.title
105     </h2>
106   </div>
107   <div
108     className="overflow-y-auto"
109   >
110     <div
111       className="big-padded bordered-bottom"
112     >
113       <div
114         className="display-flex-center"
115       >
116         <h3
117           className="spacer-right"
118         >
119           project.info.description
120         </h3>
121         <Connect(PrivacyBadge)
122           qualifier="TRK"
123           tooltipProps={
124             Object {
125               "projectKey": "my-project",
126             }
127           }
128           visibility="private"
129         />
130       </div>
131       <MetaTags
132         component={
133           Object {
134             "breadcrumbs": Array [],
135             "key": "my-project",
136             "name": "MyProject",
137             "organization": "foo",
138             "qualifier": "TRK",
139             "qualityGate": Object {
140               "isDefault": true,
141               "key": "30",
142               "name": "Sonar way",
143             },
144             "qualityProfiles": Array [
145               Object {
146                 "deleted": false,
147                 "key": "my-qp",
148                 "language": "ts",
149                 "name": "Sonar way",
150               },
151             ],
152             "tags": Array [],
153             "visibility": "private",
154           }
155         }
156         onComponentChange={[MockFunction]}
157       />
158     </div>
159     <div
160       className="big-padded bordered-bottom it__project-loc-value"
161     >
162       <MetaSize
163         component={
164           Object {
165             "breadcrumbs": Array [],
166             "key": "my-project",
167             "name": "MyProject",
168             "organization": "foo",
169             "qualifier": "TRK",
170             "qualityGate": Object {
171               "isDefault": true,
172               "key": "30",
173               "name": "Sonar way",
174             },
175             "qualityProfiles": Array [
176               Object {
177                 "deleted": false,
178                 "key": "my-qp",
179                 "language": "ts",
180                 "name": "Sonar way",
181               },
182             ],
183             "tags": Array [],
184             "visibility": "private",
185           }
186         }
187         measures={Array []}
188       />
189     </div>
190     <div
191       className="big-padded bordered-bottom"
192     >
193       <MetaQualityGate
194         qualityGate={
195           Object {
196             "isDefault": true,
197             "key": "30",
198             "name": "Sonar way",
199           }
200         }
201       />
202       <Connect(MetaQualityProfiles)
203         headerClassName="big-spacer-top"
204         profiles={
205           Array [
206             Object {
207               "deleted": false,
208               "key": "my-qp",
209               "language": "ts",
210               "name": "Sonar way",
211             },
212           ]
213         }
214       />
215     </div>
216     <MetaLinks
217       component={
218         Object {
219           "breadcrumbs": Array [],
220           "key": "my-project",
221           "name": "MyProject",
222           "organization": "foo",
223           "qualifier": "TRK",
224           "qualityGate": Object {
225             "isDefault": true,
226             "key": "30",
227             "name": "Sonar way",
228           },
229           "qualityProfiles": Array [
230             Object {
231               "deleted": false,
232               "key": "my-qp",
233               "language": "ts",
234               "name": "Sonar way",
235             },
236           ],
237           "tags": Array [],
238           "visibility": "private",
239         }
240       }
241     />
242     <div
243       className="big-padded bordered-bottom"
244     >
245       <MetaKey
246         componentKey="my-project"
247         qualifier="TRK"
248       />
249     </div>
250     <Memo(DrawerLink)
251       label="overview.badges.get_badge.TRK"
252       onPageChange={[MockFunction]}
253       to={1}
254     />
255     <Memo(DrawerLink)
256       label="project.info.to_notifications"
257       onPageChange={[MockFunction]}
258       to={2}
259     />
260   </div>
261 </Fragment>
262 `;
263
264 exports[`should render an app correctly: default 1`] = `
265 <Fragment>
266   <div>
267     <h2
268       className="big-padded bordered-bottom"
269     >
270       application.info.title
271     </h2>
272   </div>
273   <div
274     className="overflow-y-auto"
275   >
276     <div
277       className="big-padded bordered-bottom"
278     >
279       <div
280         className="display-flex-center"
281       >
282         <h3
283           className="spacer-right"
284         >
285           project.info.description
286         </h3>
287       </div>
288       <MetaTags
289         component={
290           Object {
291             "breadcrumbs": Array [],
292             "key": "my-project",
293             "name": "MyProject",
294             "organization": "foo",
295             "qualifier": "APP",
296             "qualityGate": Object {
297               "isDefault": true,
298               "key": "30",
299               "name": "Sonar way",
300             },
301             "qualityProfiles": Array [
302               Object {
303                 "deleted": false,
304                 "key": "my-qp",
305                 "language": "ts",
306                 "name": "Sonar way",
307               },
308             ],
309             "tags": Array [],
310           }
311         }
312         onComponentChange={[MockFunction]}
313       />
314     </div>
315     <div
316       className="big-padded bordered-bottom it__project-loc-value"
317     >
318       <MetaSize
319         component={
320           Object {
321             "breadcrumbs": Array [],
322             "key": "my-project",
323             "name": "MyProject",
324             "organization": "foo",
325             "qualifier": "APP",
326             "qualityGate": Object {
327               "isDefault": true,
328               "key": "30",
329               "name": "Sonar way",
330             },
331             "qualityProfiles": Array [
332               Object {
333                 "deleted": false,
334                 "key": "my-qp",
335                 "language": "ts",
336                 "name": "Sonar way",
337               },
338             ],
339             "tags": Array [],
340           }
341         }
342         measures={Array []}
343       />
344     </div>
345     <div
346       className="big-padded bordered-bottom"
347     >
348       <MetaKey
349         componentKey="my-project"
350         qualifier="APP"
351       />
352     </div>
353     <Memo(DrawerLink)
354       label="overview.badges.get_badge.APP"
355       onPageChange={[MockFunction]}
356       to={1}
357     />
358     <Memo(DrawerLink)
359       label="project.info.to_notifications"
360       onPageChange={[MockFunction]}
361       to={2}
362     />
363   </div>
364 </Fragment>
365 `;
366
367 exports[`should render correctly: default 1`] = `
368 <Fragment>
369   <div>
370     <h2
371       className="big-padded bordered-bottom"
372     >
373       project.info.title
374     </h2>
375   </div>
376   <div
377     className="overflow-y-auto"
378   >
379     <div
380       className="big-padded bordered-bottom"
381     >
382       <div
383         className="display-flex-center"
384       >
385         <h3
386           className="spacer-right"
387         >
388           project.info.description
389         </h3>
390         <Connect(PrivacyBadge)
391           qualifier="TRK"
392           tooltipProps={
393             Object {
394               "projectKey": "my-project",
395             }
396           }
397           visibility="public"
398         />
399       </div>
400       <MetaTags
401         component={
402           Object {
403             "breadcrumbs": Array [],
404             "key": "my-project",
405             "name": "MyProject",
406             "organization": "foo",
407             "qualifier": "TRK",
408             "qualityGate": Object {
409               "isDefault": true,
410               "key": "30",
411               "name": "Sonar way",
412             },
413             "qualityProfiles": Array [
414               Object {
415                 "deleted": false,
416                 "key": "my-qp",
417                 "language": "ts",
418                 "name": "Sonar way",
419               },
420             ],
421             "tags": Array [],
422             "visibility": "public",
423           }
424         }
425         onComponentChange={[MockFunction]}
426       />
427     </div>
428     <div
429       className="big-padded bordered-bottom it__project-loc-value"
430     >
431       <MetaSize
432         component={
433           Object {
434             "breadcrumbs": Array [],
435             "key": "my-project",
436             "name": "MyProject",
437             "organization": "foo",
438             "qualifier": "TRK",
439             "qualityGate": Object {
440               "isDefault": true,
441               "key": "30",
442               "name": "Sonar way",
443             },
444             "qualityProfiles": Array [
445               Object {
446                 "deleted": false,
447                 "key": "my-qp",
448                 "language": "ts",
449                 "name": "Sonar way",
450               },
451             ],
452             "tags": Array [],
453             "visibility": "public",
454           }
455         }
456         measures={Array []}
457       />
458     </div>
459     <div
460       className="big-padded bordered-bottom"
461     >
462       <MetaQualityGate
463         qualityGate={
464           Object {
465             "isDefault": true,
466             "key": "30",
467             "name": "Sonar way",
468           }
469         }
470       />
471       <Connect(MetaQualityProfiles)
472         headerClassName="big-spacer-top"
473         profiles={
474           Array [
475             Object {
476               "deleted": false,
477               "key": "my-qp",
478               "language": "ts",
479               "name": "Sonar way",
480             },
481           ]
482         }
483       />
484     </div>
485     <MetaLinks
486       component={
487         Object {
488           "breadcrumbs": Array [],
489           "key": "my-project",
490           "name": "MyProject",
491           "organization": "foo",
492           "qualifier": "TRK",
493           "qualityGate": Object {
494             "isDefault": true,
495             "key": "30",
496             "name": "Sonar way",
497           },
498           "qualityProfiles": Array [
499             Object {
500               "deleted": false,
501               "key": "my-qp",
502               "language": "ts",
503               "name": "Sonar way",
504             },
505           ],
506           "tags": Array [],
507           "visibility": "public",
508         }
509       }
510     />
511     <div
512       className="big-padded bordered-bottom"
513     >
514       <MetaKey
515         componentKey="my-project"
516         qualifier="TRK"
517       />
518     </div>
519     <Memo(DrawerLink)
520       label="overview.badges.get_badge.TRK"
521       onPageChange={[MockFunction]}
522       to={1}
523     />
524     <Memo(DrawerLink)
525       label="project.info.to_notifications"
526       onPageChange={[MockFunction]}
527       to={2}
528     />
529   </div>
530 </Fragment>
531 `;
532
533 exports[`should render correctly: no badges 1`] = `
534 <Fragment>
535   <div>
536     <h2
537       className="big-padded bordered-bottom"
538     >
539       project.info.title
540     </h2>
541   </div>
542   <div
543     className="overflow-y-auto"
544   >
545     <div
546       className="big-padded bordered-bottom"
547     >
548       <div
549         className="display-flex-center"
550       >
551         <h3
552           className="spacer-right"
553         >
554           project.info.description
555         </h3>
556         <Connect(PrivacyBadge)
557           qualifier="TRK"
558           tooltipProps={
559             Object {
560               "projectKey": "my-project",
561             }
562           }
563           visibility="public"
564         />
565       </div>
566       <MetaTags
567         component={
568           Object {
569             "breadcrumbs": Array [],
570             "key": "my-project",
571             "name": "MyProject",
572             "organization": "foo",
573             "qualifier": "TRK",
574             "qualityGate": Object {
575               "isDefault": true,
576               "key": "30",
577               "name": "Sonar way",
578             },
579             "qualityProfiles": Array [
580               Object {
581                 "deleted": false,
582                 "key": "my-qp",
583                 "language": "ts",
584                 "name": "Sonar way",
585               },
586             ],
587             "tags": Array [],
588             "visibility": "public",
589           }
590         }
591         onComponentChange={[MockFunction]}
592       />
593     </div>
594     <div
595       className="big-padded bordered-bottom it__project-loc-value"
596     >
597       <MetaSize
598         component={
599           Object {
600             "breadcrumbs": Array [],
601             "key": "my-project",
602             "name": "MyProject",
603             "organization": "foo",
604             "qualifier": "TRK",
605             "qualityGate": Object {
606               "isDefault": true,
607               "key": "30",
608               "name": "Sonar way",
609             },
610             "qualityProfiles": Array [
611               Object {
612                 "deleted": false,
613                 "key": "my-qp",
614                 "language": "ts",
615                 "name": "Sonar way",
616               },
617             ],
618             "tags": Array [],
619             "visibility": "public",
620           }
621         }
622         measures={Array []}
623       />
624     </div>
625     <div
626       className="big-padded bordered-bottom"
627     >
628       <MetaQualityGate
629         qualityGate={
630           Object {
631             "isDefault": true,
632             "key": "30",
633             "name": "Sonar way",
634           }
635         }
636       />
637       <Connect(MetaQualityProfiles)
638         headerClassName="big-spacer-top"
639         profiles={
640           Array [
641             Object {
642               "deleted": false,
643               "key": "my-qp",
644               "language": "ts",
645               "name": "Sonar way",
646             },
647           ]
648         }
649       />
650     </div>
651     <MetaLinks
652       component={
653         Object {
654           "breadcrumbs": Array [],
655           "key": "my-project",
656           "name": "MyProject",
657           "organization": "foo",
658           "qualifier": "TRK",
659           "qualityGate": Object {
660             "isDefault": true,
661             "key": "30",
662             "name": "Sonar way",
663           },
664           "qualityProfiles": Array [
665             Object {
666               "deleted": false,
667               "key": "my-qp",
668               "language": "ts",
669               "name": "Sonar way",
670             },
671           ],
672           "tags": Array [],
673           "visibility": "public",
674         }
675       }
676     />
677     <div
678       className="big-padded bordered-bottom"
679     >
680       <MetaKey
681         componentKey="my-project"
682         qualifier="TRK"
683       />
684     </div>
685     <Memo(DrawerLink)
686       label="project.info.to_notifications"
687       onPageChange={[MockFunction]}
688       to={2}
689     />
690   </div>
691 </Fragment>
692 `;
693
694 exports[`should render correctly: no badges, no notifications 1`] = `
695 <Fragment>
696   <div>
697     <h2
698       className="big-padded bordered-bottom"
699     >
700       project.info.title
701     </h2>
702   </div>
703   <div
704     className="overflow-y-auto"
705   >
706     <div
707       className="big-padded bordered-bottom"
708     >
709       <div
710         className="display-flex-center"
711       >
712         <h3
713           className="spacer-right"
714         >
715           project.info.description
716         </h3>
717         <Connect(PrivacyBadge)
718           qualifier="TRK"
719           tooltipProps={
720             Object {
721               "projectKey": "my-project",
722             }
723           }
724           visibility="public"
725         />
726       </div>
727       <MetaTags
728         component={
729           Object {
730             "breadcrumbs": Array [],
731             "key": "my-project",
732             "name": "MyProject",
733             "organization": "foo",
734             "qualifier": "TRK",
735             "qualityGate": Object {
736               "isDefault": true,
737               "key": "30",
738               "name": "Sonar way",
739             },
740             "qualityProfiles": Array [
741               Object {
742                 "deleted": false,
743                 "key": "my-qp",
744                 "language": "ts",
745                 "name": "Sonar way",
746               },
747             ],
748             "tags": Array [],
749             "visibility": "public",
750           }
751         }
752         onComponentChange={[MockFunction]}
753       />
754     </div>
755     <div
756       className="big-padded bordered-bottom it__project-loc-value"
757     >
758       <MetaSize
759         component={
760           Object {
761             "breadcrumbs": Array [],
762             "key": "my-project",
763             "name": "MyProject",
764             "organization": "foo",
765             "qualifier": "TRK",
766             "qualityGate": Object {
767               "isDefault": true,
768               "key": "30",
769               "name": "Sonar way",
770             },
771             "qualityProfiles": Array [
772               Object {
773                 "deleted": false,
774                 "key": "my-qp",
775                 "language": "ts",
776                 "name": "Sonar way",
777               },
778             ],
779             "tags": Array [],
780             "visibility": "public",
781           }
782         }
783         measures={Array []}
784       />
785     </div>
786     <div
787       className="big-padded bordered-bottom"
788     >
789       <MetaQualityGate
790         qualityGate={
791           Object {
792             "isDefault": true,
793             "key": "30",
794             "name": "Sonar way",
795           }
796         }
797       />
798       <Connect(MetaQualityProfiles)
799         headerClassName="big-spacer-top"
800         profiles={
801           Array [
802             Object {
803               "deleted": false,
804               "key": "my-qp",
805               "language": "ts",
806               "name": "Sonar way",
807             },
808           ]
809         }
810       />
811     </div>
812     <MetaLinks
813       component={
814         Object {
815           "breadcrumbs": Array [],
816           "key": "my-project",
817           "name": "MyProject",
818           "organization": "foo",
819           "qualifier": "TRK",
820           "qualityGate": Object {
821             "isDefault": true,
822             "key": "30",
823             "name": "Sonar way",
824           },
825           "qualityProfiles": Array [
826             Object {
827               "deleted": false,
828               "key": "my-qp",
829               "language": "ts",
830               "name": "Sonar way",
831             },
832           ],
833           "tags": Array [],
834           "visibility": "public",
835         }
836       }
837     />
838     <div
839       className="big-padded bordered-bottom"
840     >
841       <MetaKey
842         componentKey="my-project"
843         qualifier="TRK"
844       />
845     </div>
846   </div>
847 </Fragment>
848 `;
849
850 exports[`should render correctly: with notifications 1`] = `
851 <Fragment>
852   <div>
853     <h2
854       className="big-padded bordered-bottom"
855     >
856       project.info.title
857     </h2>
858   </div>
859   <div
860     className="overflow-y-auto"
861   >
862     <div
863       className="big-padded bordered-bottom"
864     >
865       <div
866         className="display-flex-center"
867       >
868         <h3
869           className="spacer-right"
870         >
871           project.info.description
872         </h3>
873         <Connect(PrivacyBadge)
874           qualifier="TRK"
875           tooltipProps={
876             Object {
877               "projectKey": "my-project",
878             }
879           }
880           visibility="public"
881         />
882       </div>
883       <MetaTags
884         component={
885           Object {
886             "breadcrumbs": Array [],
887             "key": "my-project",
888             "name": "MyProject",
889             "organization": "foo",
890             "qualifier": "TRK",
891             "qualityGate": Object {
892               "isDefault": true,
893               "key": "30",
894               "name": "Sonar way",
895             },
896             "qualityProfiles": Array [
897               Object {
898                 "deleted": false,
899                 "key": "my-qp",
900                 "language": "ts",
901                 "name": "Sonar way",
902               },
903             ],
904             "tags": Array [],
905             "visibility": "public",
906           }
907         }
908         onComponentChange={[MockFunction]}
909       />
910     </div>
911     <div
912       className="big-padded bordered-bottom it__project-loc-value"
913     >
914       <MetaSize
915         component={
916           Object {
917             "breadcrumbs": Array [],
918             "key": "my-project",
919             "name": "MyProject",
920             "organization": "foo",
921             "qualifier": "TRK",
922             "qualityGate": Object {
923               "isDefault": true,
924               "key": "30",
925               "name": "Sonar way",
926             },
927             "qualityProfiles": Array [
928               Object {
929                 "deleted": false,
930                 "key": "my-qp",
931                 "language": "ts",
932                 "name": "Sonar way",
933               },
934             ],
935             "tags": Array [],
936             "visibility": "public",
937           }
938         }
939         measures={Array []}
940       />
941     </div>
942     <div
943       className="big-padded bordered-bottom"
944     >
945       <MetaQualityGate
946         qualityGate={
947           Object {
948             "isDefault": true,
949             "key": "30",
950             "name": "Sonar way",
951           }
952         }
953       />
954       <Connect(MetaQualityProfiles)
955         headerClassName="big-spacer-top"
956         profiles={
957           Array [
958             Object {
959               "deleted": false,
960               "key": "my-qp",
961               "language": "ts",
962               "name": "Sonar way",
963             },
964           ]
965         }
966       />
967     </div>
968     <MetaLinks
969       component={
970         Object {
971           "breadcrumbs": Array [],
972           "key": "my-project",
973           "name": "MyProject",
974           "organization": "foo",
975           "qualifier": "TRK",
976           "qualityGate": Object {
977             "isDefault": true,
978             "key": "30",
979             "name": "Sonar way",
980           },
981           "qualityProfiles": Array [
982             Object {
983               "deleted": false,
984               "key": "my-qp",
985               "language": "ts",
986               "name": "Sonar way",
987             },
988           ],
989           "tags": Array [],
990           "visibility": "public",
991         }
992       }
993     />
994     <div
995       className="big-padded bordered-bottom"
996     >
997       <MetaKey
998         componentKey="my-project"
999         qualifier="TRK"
1000       />
1001     </div>
1002     <Memo(DrawerLink)
1003       label="overview.badges.get_badge.TRK"
1004       onPageChange={[MockFunction]}
1005       to={1}
1006     />
1007   </div>
1008 </Fragment>
1009 `;
1010
1011 exports[`should render without description 1`] = `
1012 <Fragment>
1013   <div>
1014     <h2
1015       className="big-padded bordered-bottom"
1016     >
1017       project.info.title
1018     </h2>
1019   </div>
1020   <div
1021     className="overflow-y-auto"
1022   >
1023     <div
1024       className="big-padded bordered-bottom"
1025     >
1026       <div
1027         className="display-flex-center"
1028       >
1029         <h3
1030           className="spacer-right"
1031         >
1032           project.info.description
1033         </h3>
1034       </div>
1035       <MetaTags
1036         component={
1037           Object {
1038             "breadcrumbs": Array [],
1039             "description": undefined,
1040             "key": "my-project",
1041             "name": "MyProject",
1042             "organization": "foo",
1043             "qualifier": "TRK",
1044             "qualityGate": Object {
1045               "isDefault": true,
1046               "key": "30",
1047               "name": "Sonar way",
1048             },
1049             "qualityProfiles": Array [
1050               Object {
1051                 "deleted": false,
1052                 "key": "my-qp",
1053                 "language": "ts",
1054                 "name": "Sonar way",
1055               },
1056             ],
1057             "tags": Array [],
1058           }
1059         }
1060         onComponentChange={[MockFunction]}
1061       />
1062     </div>
1063     <div
1064       className="big-padded bordered-bottom it__project-loc-value"
1065     >
1066       <MetaSize
1067         component={
1068           Object {
1069             "breadcrumbs": Array [],
1070             "description": undefined,
1071             "key": "my-project",
1072             "name": "MyProject",
1073             "organization": "foo",
1074             "qualifier": "TRK",
1075             "qualityGate": Object {
1076               "isDefault": true,
1077               "key": "30",
1078               "name": "Sonar way",
1079             },
1080             "qualityProfiles": Array [
1081               Object {
1082                 "deleted": false,
1083                 "key": "my-qp",
1084                 "language": "ts",
1085                 "name": "Sonar way",
1086               },
1087             ],
1088             "tags": Array [],
1089           }
1090         }
1091         measures={Array []}
1092       />
1093     </div>
1094     <div
1095       className="big-padded bordered-bottom"
1096     >
1097       <MetaQualityGate
1098         qualityGate={
1099           Object {
1100             "isDefault": true,
1101             "key": "30",
1102             "name": "Sonar way",
1103           }
1104         }
1105       />
1106       <Connect(MetaQualityProfiles)
1107         headerClassName="big-spacer-top"
1108         profiles={
1109           Array [
1110             Object {
1111               "deleted": false,
1112               "key": "my-qp",
1113               "language": "ts",
1114               "name": "Sonar way",
1115             },
1116           ]
1117         }
1118       />
1119     </div>
1120     <MetaLinks
1121       component={
1122         Object {
1123           "breadcrumbs": Array [],
1124           "description": undefined,
1125           "key": "my-project",
1126           "name": "MyProject",
1127           "organization": "foo",
1128           "qualifier": "TRK",
1129           "qualityGate": Object {
1130             "isDefault": true,
1131             "key": "30",
1132             "name": "Sonar way",
1133           },
1134           "qualityProfiles": Array [
1135             Object {
1136               "deleted": false,
1137               "key": "my-qp",
1138               "language": "ts",
1139               "name": "Sonar way",
1140             },
1141           ],
1142           "tags": Array [],
1143         }
1144       }
1145     />
1146     <div
1147       className="big-padded bordered-bottom"
1148     >
1149       <MetaKey
1150         componentKey="my-project"
1151         qualifier="TRK"
1152       />
1153     </div>
1154     <Memo(DrawerLink)
1155       label="overview.badges.get_badge.TRK"
1156       onPageChange={[MockFunction]}
1157       to={1}
1158     />
1159     <Memo(DrawerLink)
1160       label="project.info.to_notifications"
1161       onPageChange={[MockFunction]}
1162       to={2}
1163     />
1164   </div>
1165 </Fragment>
1166 `;