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 it__project-loc-value"
282 "breadcrumbs": Array [],
285 "organization": "foo",
287 "qualityGate": Object {
292 "qualityProfiles": Array [
307 className="big-padded bordered-bottom"
318 <Connect(MetaQualityProfiles)
319 headerClassName="big-spacer-top"
333 className="big-padded bordered-bottom"
336 componentKey="my-project"
341 label="overview.badges.get_badge.APP"
342 onPageChange={[MockFunction]}
346 label="project.info.to_notifications"
347 onPageChange={[MockFunction]}
354 exports[`should render correctly: default 1`] = `
358 className="big-padded bordered-bottom"
364 className="overflow-y-auto"
367 className="big-padded bordered-bottom"
370 className="display-flex-center"
373 className="spacer-right"
375 project.info.description
377 <Connect(PrivacyBadge)
381 "projectKey": "my-project",
390 "breadcrumbs": Array [],
393 "organization": "foo",
395 "qualityGate": Object {
400 "qualityProfiles": Array [
409 "visibility": "public",
412 onComponentChange={[MockFunction]}
416 className="big-padded bordered-bottom it__project-loc-value"
421 "breadcrumbs": Array [],
424 "organization": "foo",
426 "qualityGate": Object {
431 "qualityProfiles": Array [
440 "visibility": "public",
447 className="big-padded bordered-bottom"
458 <Connect(MetaQualityProfiles)
459 headerClassName="big-spacer-top"
475 "breadcrumbs": Array [],
478 "organization": "foo",
480 "qualityGate": Object {
485 "qualityProfiles": Array [
494 "visibility": "public",
499 className="big-padded bordered-bottom"
502 componentKey="my-project"
507 label="overview.badges.get_badge.TRK"
508 onPageChange={[MockFunction]}
512 label="project.info.to_notifications"
513 onPageChange={[MockFunction]}
520 exports[`should render correctly: no badges 1`] = `
524 className="big-padded bordered-bottom"
530 className="overflow-y-auto"
533 className="big-padded bordered-bottom"
536 className="display-flex-center"
539 className="spacer-right"
541 project.info.description
543 <Connect(PrivacyBadge)
547 "projectKey": "my-project",
556 "breadcrumbs": Array [],
559 "organization": "foo",
561 "qualityGate": Object {
566 "qualityProfiles": Array [
575 "visibility": "public",
578 onComponentChange={[MockFunction]}
582 className="big-padded bordered-bottom it__project-loc-value"
587 "breadcrumbs": Array [],
590 "organization": "foo",
592 "qualityGate": Object {
597 "qualityProfiles": Array [
606 "visibility": "public",
613 className="big-padded bordered-bottom"
624 <Connect(MetaQualityProfiles)
625 headerClassName="big-spacer-top"
641 "breadcrumbs": Array [],
644 "organization": "foo",
646 "qualityGate": Object {
651 "qualityProfiles": Array [
660 "visibility": "public",
665 className="big-padded bordered-bottom"
668 componentKey="my-project"
673 label="project.info.to_notifications"
674 onPageChange={[MockFunction]}
681 exports[`should render correctly: no badges, no notifications 1`] = `
685 className="big-padded bordered-bottom"
691 className="overflow-y-auto"
694 className="big-padded bordered-bottom"
697 className="display-flex-center"
700 className="spacer-right"
702 project.info.description
704 <Connect(PrivacyBadge)
708 "projectKey": "my-project",
717 "breadcrumbs": Array [],
720 "organization": "foo",
722 "qualityGate": Object {
727 "qualityProfiles": Array [
736 "visibility": "public",
739 onComponentChange={[MockFunction]}
743 className="big-padded bordered-bottom it__project-loc-value"
748 "breadcrumbs": Array [],
751 "organization": "foo",
753 "qualityGate": Object {
758 "qualityProfiles": Array [
767 "visibility": "public",
774 className="big-padded bordered-bottom"
785 <Connect(MetaQualityProfiles)
786 headerClassName="big-spacer-top"
802 "breadcrumbs": Array [],
805 "organization": "foo",
807 "qualityGate": Object {
812 "qualityProfiles": Array [
821 "visibility": "public",
826 className="big-padded bordered-bottom"
829 componentKey="my-project"
837 exports[`should render correctly: with notifications 1`] = `
841 className="big-padded bordered-bottom"
847 className="overflow-y-auto"
850 className="big-padded bordered-bottom"
853 className="display-flex-center"
856 className="spacer-right"
858 project.info.description
860 <Connect(PrivacyBadge)
864 "projectKey": "my-project",
873 "breadcrumbs": Array [],
876 "organization": "foo",
878 "qualityGate": Object {
883 "qualityProfiles": Array [
892 "visibility": "public",
895 onComponentChange={[MockFunction]}
899 className="big-padded bordered-bottom it__project-loc-value"
904 "breadcrumbs": Array [],
907 "organization": "foo",
909 "qualityGate": Object {
914 "qualityProfiles": Array [
923 "visibility": "public",
930 className="big-padded bordered-bottom"
941 <Connect(MetaQualityProfiles)
942 headerClassName="big-spacer-top"
958 "breadcrumbs": Array [],
961 "organization": "foo",
963 "qualityGate": Object {
968 "qualityProfiles": Array [
977 "visibility": "public",
982 className="big-padded bordered-bottom"
985 componentKey="my-project"
990 label="overview.badges.get_badge.TRK"
991 onPageChange={[MockFunction]}