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"
14 className="overflow-y-auto"
17 className="big-padded bordered-bottom"
20 className="display-flex-center"
23 className="spacer-right"
25 project.info.description
31 "breadcrumbs": Array [],
35 "qualityGate": undefined,
36 "qualityProfiles": undefined,
40 onComponentChange={[MockFunction]}
44 className="big-padded bordered-bottom it__project-loc-value"
49 "breadcrumbs": Array [],
53 "qualityGate": undefined,
54 "qualityProfiles": undefined,
64 "breadcrumbs": Array [],
68 "qualityGate": undefined,
69 "qualityProfiles": undefined,
75 className="big-padded bordered-bottom"
78 componentKey="my-project"
85 label="overview.badges.get_badge.TRK"
86 onPageChange={[MockFunction]}
92 label="project.info.to_notifications"
93 onPageChange={[MockFunction]}
98 className="big-padded bordered-bottom"
111 exports[`should render a private project correctly 1`] = `
115 className="big-padded bordered-bottom"
122 className="overflow-y-auto"
125 className="big-padded bordered-bottom"
128 className="display-flex-center"
131 className="spacer-right"
133 project.info.description
135 <PrivacyBadgeContainer
143 "breadcrumbs": Array [],
147 "qualityGate": Object {
152 "qualityProfiles": Array [
161 "visibility": "private",
164 onComponentChange={[MockFunction]}
168 className="big-padded bordered-bottom it__project-loc-value"
173 "breadcrumbs": Array [],
177 "qualityGate": Object {
182 "qualityProfiles": Array [
191 "visibility": "private",
198 className="big-padded bordered-bottom"
209 <withLanguagesContext(MetaQualityProfiles)
210 headerClassName="big-spacer-top"
226 "breadcrumbs": Array [],
230 "qualityGate": Object {
235 "qualityProfiles": Array [
244 "visibility": "private",
249 className="big-padded bordered-bottom"
252 componentKey="my-project"
259 label="overview.badges.get_badge.TRK"
260 onPageChange={[MockFunction]}
266 label="project.info.to_notifications"
267 onPageChange={[MockFunction]}
272 className="big-padded bordered-bottom"
285 exports[`should render an app correctly: default 1`] = `
289 className="big-padded bordered-bottom"
292 application.info.title
296 className="overflow-y-auto"
299 className="big-padded bordered-bottom"
302 className="display-flex-center"
305 className="spacer-right"
307 project.info.description
313 "breadcrumbs": Array [],
317 "qualityGate": Object {
322 "qualityProfiles": Array [
333 onComponentChange={[MockFunction]}
337 className="big-padded bordered-bottom it__project-loc-value"
342 "breadcrumbs": Array [],
346 "qualityGate": Object {
351 "qualityProfiles": Array [
366 className="big-padded bordered-bottom"
369 componentKey="my-project"
376 label="overview.badges.get_badge.APP"
377 onPageChange={[MockFunction]}
383 label="project.info.to_notifications"
384 onPageChange={[MockFunction]}
393 exports[`should render app correctly when regulatoryReportFeatureEnabled is false 1`] = `
397 className="big-padded bordered-bottom"
404 className="overflow-y-auto"
407 className="big-padded bordered-bottom"
410 className="display-flex-center"
413 className="spacer-right"
415 project.info.description
417 <PrivacyBadgeContainer
425 "breadcrumbs": Array [],
429 "qualityGate": Object {
434 "qualityProfiles": Array [
443 "visibility": "public",
446 onComponentChange={[MockFunction]}
450 className="big-padded bordered-bottom it__project-loc-value"
455 "breadcrumbs": Array [],
459 "qualityGate": Object {
464 "qualityProfiles": Array [
473 "visibility": "public",
480 className="big-padded bordered-bottom"
491 <withLanguagesContext(MetaQualityProfiles)
492 headerClassName="big-spacer-top"
508 "breadcrumbs": Array [],
512 "qualityGate": Object {
517 "qualityProfiles": Array [
526 "visibility": "public",
531 className="big-padded bordered-bottom"
534 componentKey="my-project"
541 label="overview.badges.get_badge.TRK"
542 onPageChange={[MockFunction]}
548 label="project.info.to_notifications"
549 onPageChange={[MockFunction]}
558 exports[`should render correctly: default 1`] = `
562 className="big-padded bordered-bottom"
569 className="overflow-y-auto"
572 className="big-padded bordered-bottom"
575 className="display-flex-center"
578 className="spacer-right"
580 project.info.description
582 <PrivacyBadgeContainer
590 "breadcrumbs": Array [],
594 "qualityGate": Object {
599 "qualityProfiles": Array [
608 "visibility": "public",
611 onComponentChange={[MockFunction]}
615 className="big-padded bordered-bottom it__project-loc-value"
620 "breadcrumbs": Array [],
624 "qualityGate": Object {
629 "qualityProfiles": Array [
638 "visibility": "public",
645 className="big-padded bordered-bottom"
656 <withLanguagesContext(MetaQualityProfiles)
657 headerClassName="big-spacer-top"
673 "breadcrumbs": Array [],
677 "qualityGate": Object {
682 "qualityProfiles": Array [
691 "visibility": "public",
696 className="big-padded bordered-bottom"
699 componentKey="my-project"
706 label="overview.badges.get_badge.TRK"
707 onPageChange={[MockFunction]}
713 label="project.info.to_notifications"
714 onPageChange={[MockFunction]}
719 className="big-padded bordered-bottom"
732 exports[`should render correctly: no badges 1`] = `
736 className="big-padded bordered-bottom"
743 className="overflow-y-auto"
746 className="big-padded bordered-bottom"
749 className="display-flex-center"
752 className="spacer-right"
754 project.info.description
756 <PrivacyBadgeContainer
764 "breadcrumbs": Array [],
768 "qualityGate": Object {
773 "qualityProfiles": Array [
782 "visibility": "public",
785 onComponentChange={[MockFunction]}
789 className="big-padded bordered-bottom it__project-loc-value"
794 "breadcrumbs": Array [],
798 "qualityGate": Object {
803 "qualityProfiles": Array [
812 "visibility": "public",
819 className="big-padded bordered-bottom"
830 <withLanguagesContext(MetaQualityProfiles)
831 headerClassName="big-spacer-top"
847 "breadcrumbs": Array [],
851 "qualityGate": Object {
856 "qualityProfiles": Array [
865 "visibility": "public",
870 className="big-padded bordered-bottom"
873 componentKey="my-project"
880 label="project.info.to_notifications"
881 onPageChange={[MockFunction]}
886 className="big-padded bordered-bottom"
899 exports[`should render correctly: no badges, no notifications 1`] = `
903 className="big-padded bordered-bottom"
910 className="overflow-y-auto"
913 className="big-padded bordered-bottom"
916 className="display-flex-center"
919 className="spacer-right"
921 project.info.description
923 <PrivacyBadgeContainer
931 "breadcrumbs": Array [],
935 "qualityGate": Object {
940 "qualityProfiles": Array [
949 "visibility": "public",
952 onComponentChange={[MockFunction]}
956 className="big-padded bordered-bottom it__project-loc-value"
961 "breadcrumbs": Array [],
965 "qualityGate": Object {
970 "qualityProfiles": Array [
979 "visibility": "public",
986 className="big-padded bordered-bottom"
997 <withLanguagesContext(MetaQualityProfiles)
998 headerClassName="big-spacer-top"
1005 "name": "Sonar way",
1014 "breadcrumbs": Array [],
1015 "key": "my-project",
1016 "name": "MyProject",
1018 "qualityGate": Object {
1021 "name": "Sonar way",
1023 "qualityProfiles": Array [
1028 "name": "Sonar way",
1032 "visibility": "public",
1037 className="big-padded bordered-bottom"
1040 componentKey="my-project"
1046 className="big-padded bordered-bottom"
1059 exports[`should render correctly: with notifications 1`] = `
1063 className="big-padded bordered-bottom"
1070 className="overflow-y-auto"
1073 className="big-padded bordered-bottom"
1076 className="display-flex-center"
1079 className="spacer-right"
1081 project.info.description
1083 <PrivacyBadgeContainer
1091 "breadcrumbs": Array [],
1092 "key": "my-project",
1093 "name": "MyProject",
1095 "qualityGate": Object {
1098 "name": "Sonar way",
1100 "qualityProfiles": Array [
1105 "name": "Sonar way",
1109 "visibility": "public",
1112 onComponentChange={[MockFunction]}
1116 className="big-padded bordered-bottom it__project-loc-value"
1121 "breadcrumbs": Array [],
1122 "key": "my-project",
1123 "name": "MyProject",
1125 "qualityGate": Object {
1128 "name": "Sonar way",
1130 "qualityProfiles": Array [
1135 "name": "Sonar way",
1139 "visibility": "public",
1146 className="big-padded bordered-bottom"
1153 "name": "Sonar way",
1157 <withLanguagesContext(MetaQualityProfiles)
1158 headerClassName="big-spacer-top"
1165 "name": "Sonar way",
1174 "breadcrumbs": Array [],
1175 "key": "my-project",
1176 "name": "MyProject",
1178 "qualityGate": Object {
1181 "name": "Sonar way",
1183 "qualityProfiles": Array [
1188 "name": "Sonar way",
1192 "visibility": "public",
1197 className="big-padded bordered-bottom"
1200 componentKey="my-project"
1207 label="overview.badges.get_badge.TRK"
1208 onPageChange={[MockFunction]}
1213 className="big-padded bordered-bottom"
1226 exports[`should render with description 1`] = `
1230 className="big-padded bordered-bottom"
1237 className="overflow-y-auto"
1240 className="big-padded bordered-bottom"
1243 className="display-flex-center"
1246 className="spacer-right"
1248 project.info.description
1252 className="it__project-description"
1259 "breadcrumbs": Array [],
1260 "description": "Lorem ipsum",
1261 "key": "my-project",
1262 "name": "MyProject",
1264 "qualityGate": Object {
1267 "name": "Sonar way",
1269 "qualityProfiles": Array [
1274 "name": "Sonar way",
1280 onComponentChange={[MockFunction]}
1284 className="big-padded bordered-bottom it__project-loc-value"
1289 "breadcrumbs": Array [],
1290 "description": "Lorem ipsum",
1291 "key": "my-project",
1292 "name": "MyProject",
1294 "qualityGate": Object {
1297 "name": "Sonar way",
1299 "qualityProfiles": Array [
1304 "name": "Sonar way",
1314 className="big-padded bordered-bottom"
1321 "name": "Sonar way",
1325 <withLanguagesContext(MetaQualityProfiles)
1326 headerClassName="big-spacer-top"
1333 "name": "Sonar way",
1342 "breadcrumbs": Array [],
1343 "description": "Lorem ipsum",
1344 "key": "my-project",
1345 "name": "MyProject",
1347 "qualityGate": Object {
1350 "name": "Sonar way",
1352 "qualityProfiles": Array [
1357 "name": "Sonar way",
1365 className="big-padded bordered-bottom"
1368 componentKey="my-project"
1375 label="overview.badges.get_badge.TRK"
1376 onPageChange={[MockFunction]}
1382 label="project.info.to_notifications"
1383 onPageChange={[MockFunction]}
1388 className="big-padded bordered-bottom"