1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should handle missing quality profiles and quality gates 1`] = `
7 className="big-padded bordered-bottom"
13 className="overflow-y-auto"
16 className="big-padded bordered-bottom"
19 className="display-flex-center"
22 className="spacer-right"
24 project.info.description
30 "breadcrumbs": Array [],
33 "organization": "foo",
35 "qualityGate": undefined,
36 "qualityProfiles": undefined,
40 onComponentChange={[MockFunction]}
44 className="big-padded bordered-bottom it__project-loc-value"
49 "breadcrumbs": Array [],
52 "organization": "foo",
54 "qualityGate": undefined,
55 "qualityProfiles": undefined,
65 "breadcrumbs": Array [],
68 "organization": "foo",
70 "qualityGate": undefined,
71 "qualityProfiles": undefined,
77 className="big-padded bordered-bottom"
80 componentKey="my-project"
85 label="overview.badges.get_badge.TRK"
86 onPageChange={[MockFunction]}
90 label="project.info.to_notifications"
91 onPageChange={[MockFunction]}
98 exports[`should render a private project correctly 1`] = `
102 className="big-padded bordered-bottom"
108 className="overflow-y-auto"
111 className="big-padded bordered-bottom"
114 className="display-flex-center"
117 className="spacer-right"
119 project.info.description
121 <Connect(PrivacyBadge)
125 "projectKey": "my-project",
134 "breadcrumbs": Array [],
137 "organization": "foo",
139 "qualityGate": Object {
144 "qualityProfiles": Array [
153 "visibility": "private",
156 onComponentChange={[MockFunction]}
160 className="big-padded bordered-bottom it__project-loc-value"
165 "breadcrumbs": Array [],
168 "organization": "foo",
170 "qualityGate": Object {
175 "qualityProfiles": Array [
184 "visibility": "private",
191 className="big-padded bordered-bottom"
202 <Connect(MetaQualityProfiles)
203 headerClassName="big-spacer-top"
219 "breadcrumbs": Array [],
222 "organization": "foo",
224 "qualityGate": Object {
229 "qualityProfiles": Array [
238 "visibility": "private",
243 className="big-padded bordered-bottom"
246 componentKey="my-project"
251 label="overview.badges.get_badge.TRK"
252 onPageChange={[MockFunction]}
256 label="project.info.to_notifications"
257 onPageChange={[MockFunction]}
264 exports[`should render an app correctly: default 1`] = `
268 className="big-padded bordered-bottom"
270 application.info.title
274 className="overflow-y-auto"
277 className="big-padded bordered-bottom"
280 className="display-flex-center"
283 className="spacer-right"
285 project.info.description
291 "breadcrumbs": Array [],
294 "organization": "foo",
296 "qualityGate": Object {
301 "qualityProfiles": Array [
312 onComponentChange={[MockFunction]}
316 className="big-padded bordered-bottom it__project-loc-value"
321 "breadcrumbs": Array [],
324 "organization": "foo",
326 "qualityGate": Object {
331 "qualityProfiles": Array [
346 className="big-padded bordered-bottom"
349 componentKey="my-project"
354 label="overview.badges.get_badge.APP"
355 onPageChange={[MockFunction]}
359 label="project.info.to_notifications"
360 onPageChange={[MockFunction]}
367 exports[`should render correctly: default 1`] = `
371 className="big-padded bordered-bottom"
377 className="overflow-y-auto"
380 className="big-padded bordered-bottom"
383 className="display-flex-center"
386 className="spacer-right"
388 project.info.description
390 <Connect(PrivacyBadge)
394 "projectKey": "my-project",
403 "breadcrumbs": Array [],
406 "organization": "foo",
408 "qualityGate": Object {
413 "qualityProfiles": Array [
422 "visibility": "public",
425 onComponentChange={[MockFunction]}
429 className="big-padded bordered-bottom it__project-loc-value"
434 "breadcrumbs": Array [],
437 "organization": "foo",
439 "qualityGate": Object {
444 "qualityProfiles": Array [
453 "visibility": "public",
460 className="big-padded bordered-bottom"
471 <Connect(MetaQualityProfiles)
472 headerClassName="big-spacer-top"
488 "breadcrumbs": Array [],
491 "organization": "foo",
493 "qualityGate": Object {
498 "qualityProfiles": Array [
507 "visibility": "public",
512 className="big-padded bordered-bottom"
515 componentKey="my-project"
520 label="overview.badges.get_badge.TRK"
521 onPageChange={[MockFunction]}
525 label="project.info.to_notifications"
526 onPageChange={[MockFunction]}
533 exports[`should render correctly: no badges 1`] = `
537 className="big-padded bordered-bottom"
543 className="overflow-y-auto"
546 className="big-padded bordered-bottom"
549 className="display-flex-center"
552 className="spacer-right"
554 project.info.description
556 <Connect(PrivacyBadge)
560 "projectKey": "my-project",
569 "breadcrumbs": Array [],
572 "organization": "foo",
574 "qualityGate": Object {
579 "qualityProfiles": Array [
588 "visibility": "public",
591 onComponentChange={[MockFunction]}
595 className="big-padded bordered-bottom it__project-loc-value"
600 "breadcrumbs": Array [],
603 "organization": "foo",
605 "qualityGate": Object {
610 "qualityProfiles": Array [
619 "visibility": "public",
626 className="big-padded bordered-bottom"
637 <Connect(MetaQualityProfiles)
638 headerClassName="big-spacer-top"
654 "breadcrumbs": Array [],
657 "organization": "foo",
659 "qualityGate": Object {
664 "qualityProfiles": Array [
673 "visibility": "public",
678 className="big-padded bordered-bottom"
681 componentKey="my-project"
686 label="project.info.to_notifications"
687 onPageChange={[MockFunction]}
694 exports[`should render correctly: no badges, no notifications 1`] = `
698 className="big-padded bordered-bottom"
704 className="overflow-y-auto"
707 className="big-padded bordered-bottom"
710 className="display-flex-center"
713 className="spacer-right"
715 project.info.description
717 <Connect(PrivacyBadge)
721 "projectKey": "my-project",
730 "breadcrumbs": Array [],
733 "organization": "foo",
735 "qualityGate": Object {
740 "qualityProfiles": Array [
749 "visibility": "public",
752 onComponentChange={[MockFunction]}
756 className="big-padded bordered-bottom it__project-loc-value"
761 "breadcrumbs": Array [],
764 "organization": "foo",
766 "qualityGate": Object {
771 "qualityProfiles": Array [
780 "visibility": "public",
787 className="big-padded bordered-bottom"
798 <Connect(MetaQualityProfiles)
799 headerClassName="big-spacer-top"
815 "breadcrumbs": Array [],
818 "organization": "foo",
820 "qualityGate": Object {
825 "qualityProfiles": Array [
834 "visibility": "public",
839 className="big-padded bordered-bottom"
842 componentKey="my-project"
850 exports[`should render correctly: with notifications 1`] = `
854 className="big-padded bordered-bottom"
860 className="overflow-y-auto"
863 className="big-padded bordered-bottom"
866 className="display-flex-center"
869 className="spacer-right"
871 project.info.description
873 <Connect(PrivacyBadge)
877 "projectKey": "my-project",
886 "breadcrumbs": Array [],
889 "organization": "foo",
891 "qualityGate": Object {
896 "qualityProfiles": Array [
905 "visibility": "public",
908 onComponentChange={[MockFunction]}
912 className="big-padded bordered-bottom it__project-loc-value"
917 "breadcrumbs": Array [],
920 "organization": "foo",
922 "qualityGate": Object {
927 "qualityProfiles": Array [
936 "visibility": "public",
943 className="big-padded bordered-bottom"
954 <Connect(MetaQualityProfiles)
955 headerClassName="big-spacer-top"
971 "breadcrumbs": Array [],
974 "organization": "foo",
976 "qualityGate": Object {
981 "qualityProfiles": Array [
990 "visibility": "public",
995 className="big-padded bordered-bottom"
998 componentKey="my-project"
1003 label="overview.badges.get_badge.TRK"
1004 onPageChange={[MockFunction]}
1011 exports[`should render without description 1`] = `
1015 className="big-padded bordered-bottom"
1021 className="overflow-y-auto"
1024 className="big-padded bordered-bottom"
1027 className="display-flex-center"
1030 className="spacer-right"
1032 project.info.description
1038 "breadcrumbs": Array [],
1039 "description": undefined,
1040 "key": "my-project",
1041 "name": "MyProject",
1042 "organization": "foo",
1044 "qualityGate": Object {
1047 "name": "Sonar way",
1049 "qualityProfiles": Array [
1054 "name": "Sonar way",
1060 onComponentChange={[MockFunction]}
1064 className="big-padded bordered-bottom it__project-loc-value"
1069 "breadcrumbs": Array [],
1070 "description": undefined,
1071 "key": "my-project",
1072 "name": "MyProject",
1073 "organization": "foo",
1075 "qualityGate": Object {
1078 "name": "Sonar way",
1080 "qualityProfiles": Array [
1085 "name": "Sonar way",
1095 className="big-padded bordered-bottom"
1102 "name": "Sonar way",
1106 <Connect(MetaQualityProfiles)
1107 headerClassName="big-spacer-top"
1114 "name": "Sonar way",
1123 "breadcrumbs": Array [],
1124 "description": undefined,
1125 "key": "my-project",
1126 "name": "MyProject",
1127 "organization": "foo",
1129 "qualityGate": Object {
1132 "name": "Sonar way",
1134 "qualityProfiles": Array [
1139 "name": "Sonar way",
1147 className="big-padded bordered-bottom"
1150 componentKey="my-project"
1155 label="overview.badges.get_badge.TRK"
1156 onPageChange={[MockFunction]}
1160 label="project.info.to_notifications"
1161 onPageChange={[MockFunction]}