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 <PrivacyBadgeContainer
129 "breadcrumbs": Array [],
132 "organization": "foo",
134 "qualityGate": Object {
139 "qualityProfiles": Array [
148 "visibility": "private",
151 onComponentChange={[MockFunction]}
155 className="big-padded bordered-bottom it__project-loc-value"
160 "breadcrumbs": Array [],
163 "organization": "foo",
165 "qualityGate": Object {
170 "qualityProfiles": Array [
179 "visibility": "private",
186 className="big-padded bordered-bottom"
197 <Connect(MetaQualityProfiles)
198 headerClassName="big-spacer-top"
214 "breadcrumbs": Array [],
217 "organization": "foo",
219 "qualityGate": Object {
224 "qualityProfiles": Array [
233 "visibility": "private",
238 className="big-padded bordered-bottom"
241 componentKey="my-project"
246 label="overview.badges.get_badge.TRK"
247 onPageChange={[MockFunction]}
251 label="project.info.to_notifications"
252 onPageChange={[MockFunction]}
259 exports[`should render an app correctly: default 1`] = `
263 className="big-padded bordered-bottom"
265 application.info.title
269 className="overflow-y-auto"
272 className="big-padded bordered-bottom"
275 className="display-flex-center"
278 className="spacer-right"
280 project.info.description
286 "breadcrumbs": Array [],
289 "organization": "foo",
291 "qualityGate": Object {
296 "qualityProfiles": Array [
307 onComponentChange={[MockFunction]}
311 className="big-padded bordered-bottom it__project-loc-value"
316 "breadcrumbs": Array [],
319 "organization": "foo",
321 "qualityGate": Object {
326 "qualityProfiles": Array [
341 className="big-padded bordered-bottom"
344 componentKey="my-project"
349 label="overview.badges.get_badge.APP"
350 onPageChange={[MockFunction]}
354 label="project.info.to_notifications"
355 onPageChange={[MockFunction]}
362 exports[`should render correctly: default 1`] = `
366 className="big-padded bordered-bottom"
372 className="overflow-y-auto"
375 className="big-padded bordered-bottom"
378 className="display-flex-center"
381 className="spacer-right"
383 project.info.description
385 <PrivacyBadgeContainer
393 "breadcrumbs": Array [],
396 "organization": "foo",
398 "qualityGate": Object {
403 "qualityProfiles": Array [
412 "visibility": "public",
415 onComponentChange={[MockFunction]}
419 className="big-padded bordered-bottom it__project-loc-value"
424 "breadcrumbs": Array [],
427 "organization": "foo",
429 "qualityGate": Object {
434 "qualityProfiles": Array [
443 "visibility": "public",
450 className="big-padded bordered-bottom"
461 <Connect(MetaQualityProfiles)
462 headerClassName="big-spacer-top"
478 "breadcrumbs": Array [],
481 "organization": "foo",
483 "qualityGate": Object {
488 "qualityProfiles": Array [
497 "visibility": "public",
502 className="big-padded bordered-bottom"
505 componentKey="my-project"
510 label="overview.badges.get_badge.TRK"
511 onPageChange={[MockFunction]}
515 label="project.info.to_notifications"
516 onPageChange={[MockFunction]}
523 exports[`should render correctly: no badges 1`] = `
527 className="big-padded bordered-bottom"
533 className="overflow-y-auto"
536 className="big-padded bordered-bottom"
539 className="display-flex-center"
542 className="spacer-right"
544 project.info.description
546 <PrivacyBadgeContainer
554 "breadcrumbs": Array [],
557 "organization": "foo",
559 "qualityGate": Object {
564 "qualityProfiles": Array [
573 "visibility": "public",
576 onComponentChange={[MockFunction]}
580 className="big-padded bordered-bottom it__project-loc-value"
585 "breadcrumbs": Array [],
588 "organization": "foo",
590 "qualityGate": Object {
595 "qualityProfiles": Array [
604 "visibility": "public",
611 className="big-padded bordered-bottom"
622 <Connect(MetaQualityProfiles)
623 headerClassName="big-spacer-top"
639 "breadcrumbs": Array [],
642 "organization": "foo",
644 "qualityGate": Object {
649 "qualityProfiles": Array [
658 "visibility": "public",
663 className="big-padded bordered-bottom"
666 componentKey="my-project"
671 label="project.info.to_notifications"
672 onPageChange={[MockFunction]}
679 exports[`should render correctly: no badges, no notifications 1`] = `
683 className="big-padded bordered-bottom"
689 className="overflow-y-auto"
692 className="big-padded bordered-bottom"
695 className="display-flex-center"
698 className="spacer-right"
700 project.info.description
702 <PrivacyBadgeContainer
710 "breadcrumbs": Array [],
713 "organization": "foo",
715 "qualityGate": Object {
720 "qualityProfiles": Array [
729 "visibility": "public",
732 onComponentChange={[MockFunction]}
736 className="big-padded bordered-bottom it__project-loc-value"
741 "breadcrumbs": Array [],
744 "organization": "foo",
746 "qualityGate": Object {
751 "qualityProfiles": Array [
760 "visibility": "public",
767 className="big-padded bordered-bottom"
778 <Connect(MetaQualityProfiles)
779 headerClassName="big-spacer-top"
795 "breadcrumbs": Array [],
798 "organization": "foo",
800 "qualityGate": Object {
805 "qualityProfiles": Array [
814 "visibility": "public",
819 className="big-padded bordered-bottom"
822 componentKey="my-project"
830 exports[`should render correctly: with notifications 1`] = `
834 className="big-padded bordered-bottom"
840 className="overflow-y-auto"
843 className="big-padded bordered-bottom"
846 className="display-flex-center"
849 className="spacer-right"
851 project.info.description
853 <PrivacyBadgeContainer
861 "breadcrumbs": Array [],
864 "organization": "foo",
866 "qualityGate": Object {
871 "qualityProfiles": Array [
880 "visibility": "public",
883 onComponentChange={[MockFunction]}
887 className="big-padded bordered-bottom it__project-loc-value"
892 "breadcrumbs": Array [],
895 "organization": "foo",
897 "qualityGate": Object {
902 "qualityProfiles": Array [
911 "visibility": "public",
918 className="big-padded bordered-bottom"
929 <Connect(MetaQualityProfiles)
930 headerClassName="big-spacer-top"
946 "breadcrumbs": Array [],
949 "organization": "foo",
951 "qualityGate": Object {
956 "qualityProfiles": Array [
965 "visibility": "public",
970 className="big-padded bordered-bottom"
973 componentKey="my-project"
978 label="overview.badges.get_badge.TRK"
979 onPageChange={[MockFunction]}
986 exports[`should render without description 1`] = `
990 className="big-padded bordered-bottom"
996 className="overflow-y-auto"
999 className="big-padded bordered-bottom"
1002 className="display-flex-center"
1005 className="spacer-right"
1007 project.info.description
1013 "breadcrumbs": Array [],
1014 "description": undefined,
1015 "key": "my-project",
1016 "name": "MyProject",
1017 "organization": "foo",
1019 "qualityGate": Object {
1022 "name": "Sonar way",
1024 "qualityProfiles": Array [
1029 "name": "Sonar way",
1035 onComponentChange={[MockFunction]}
1039 className="big-padded bordered-bottom it__project-loc-value"
1044 "breadcrumbs": Array [],
1045 "description": undefined,
1046 "key": "my-project",
1047 "name": "MyProject",
1048 "organization": "foo",
1050 "qualityGate": Object {
1053 "name": "Sonar way",
1055 "qualityProfiles": Array [
1060 "name": "Sonar way",
1070 className="big-padded bordered-bottom"
1077 "name": "Sonar way",
1081 <Connect(MetaQualityProfiles)
1082 headerClassName="big-spacer-top"
1089 "name": "Sonar way",
1098 "breadcrumbs": Array [],
1099 "description": undefined,
1100 "key": "my-project",
1101 "name": "MyProject",
1102 "organization": "foo",
1104 "qualityGate": Object {
1107 "name": "Sonar way",
1109 "qualityProfiles": Array [
1114 "name": "Sonar way",
1122 className="big-padded bordered-bottom"
1125 componentKey="my-project"
1130 label="overview.badges.get_badge.TRK"
1131 onPageChange={[MockFunction]}
1135 label="project.info.to_notifications"
1136 onPageChange={[MockFunction]}