1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`renders correctly: default 1`] = `
6 id="context-navigation"
7 notif={<React.Fragment />}
10 className="display-flex-center display-flex-space-between little-padded-top padded-bottom"
12 <withCurrentUserContext(Component)
13 branchLikes={Array []}
16 "breadcrumbs": Array [
26 "qualityGate": Object {
31 "qualityProfiles": Array [
43 <withCurrentUserContext(HeaderMeta)
46 "breadcrumbs": Array [
56 "qualityGate": Object {
61 "qualityProfiles": Array [
72 onWarningDismiss={[MockFunction]}
76 <withAppStateContext(Menu)
77 branchLikes={Array []}
80 "breadcrumbs": Array [
90 "qualityGate": Object {
95 "qualityProfiles": Array [
108 onToggleProjectInfo={[Function]}
115 <withCurrentUserContext(withMetricsContext(ProjectInformation))
118 "breadcrumbs": Array [
128 "qualityGate": Object {
133 "qualityProfiles": Array [
144 onComponentChange={[MockFunction]}
150 exports[`renders correctly: has failed notification 1`] = `
153 id="context-navigation"
156 <withRouter(ComponentNavBgTaskNotif)
159 "breadcrumbs": Array [
169 "qualityGate": Object {
174 "qualityProfiles": Array [
187 "analysisId": "x123",
188 "componentKey": "foo",
189 "componentName": "Foo",
190 "componentQualifier": "TRK",
191 "id": "AXR8jg_0mF2ZsYr8Wzs2",
193 "submittedAt": "2020-09-11T11:45:35+0200",
204 className="display-flex-center display-flex-space-between little-padded-top padded-bottom"
206 <withCurrentUserContext(Component)
207 branchLikes={Array []}
210 "breadcrumbs": Array [
220 "qualityGate": Object {
225 "qualityProfiles": Array [
237 <withCurrentUserContext(HeaderMeta)
240 "breadcrumbs": Array [
250 "qualityGate": Object {
255 "qualityProfiles": Array [
266 onWarningDismiss={[MockFunction]}
270 <withAppStateContext(Menu)
271 branchLikes={Array []}
274 "breadcrumbs": Array [
284 "qualityGate": Object {
289 "qualityProfiles": Array [
302 onToggleProjectInfo={[Function]}
309 <withCurrentUserContext(withMetricsContext(ProjectInformation))
312 "breadcrumbs": Array [
322 "qualityGate": Object {
327 "qualityProfiles": Array [
338 onComponentChange={[MockFunction]}
344 exports[`renders correctly: has failed project binding 1`] = `
347 id="context-navigation"
350 <ComponentNavProjectBindingErrorNotif
353 "breadcrumbs": Array [
363 "qualityGate": Object {
368 "qualityProfiles": Array [
384 className="display-flex-center display-flex-space-between little-padded-top padded-bottom"
386 <withCurrentUserContext(Component)
387 branchLikes={Array []}
390 "breadcrumbs": Array [
400 "qualityGate": Object {
405 "qualityProfiles": Array [
417 <withCurrentUserContext(HeaderMeta)
420 "breadcrumbs": Array [
430 "qualityGate": Object {
435 "qualityProfiles": Array [
446 onWarningDismiss={[MockFunction]}
450 <withAppStateContext(Menu)
451 branchLikes={Array []}
454 "breadcrumbs": Array [
464 "qualityGate": Object {
469 "qualityProfiles": Array [
482 onToggleProjectInfo={[Function]}
489 <withCurrentUserContext(withMetricsContext(ProjectInformation))
492 "breadcrumbs": Array [
502 "qualityGate": Object {
507 "qualityProfiles": Array [
518 onComponentChange={[MockFunction]}
524 exports[`renders correctly: has in progress notification 1`] = `
527 id="context-navigation"
530 <withRouter(ComponentNavBgTaskNotif)
533 "breadcrumbs": Array [
543 "qualityGate": Object {
548 "qualityProfiles": Array [
566 className="display-flex-center display-flex-space-between little-padded-top padded-bottom"
568 <withCurrentUserContext(Component)
569 branchLikes={Array []}
572 "breadcrumbs": Array [
582 "qualityGate": Object {
587 "qualityProfiles": Array [
599 <withCurrentUserContext(HeaderMeta)
602 "breadcrumbs": Array [
612 "qualityGate": Object {
617 "qualityProfiles": Array [
628 onWarningDismiss={[MockFunction]}
632 <withAppStateContext(Menu)
633 branchLikes={Array []}
636 "breadcrumbs": Array [
646 "qualityGate": Object {
651 "qualityProfiles": Array [
664 onToggleProjectInfo={[Function]}
671 <withCurrentUserContext(withMetricsContext(ProjectInformation))
674 "breadcrumbs": Array [
684 "qualityGate": Object {
689 "qualityProfiles": Array [
700 onComponentChange={[MockFunction]}
706 exports[`renders correctly: has pending notification 1`] = `
709 id="context-navigation"
712 <withRouter(ComponentNavBgTaskNotif)
715 "breadcrumbs": Array [
725 "qualityGate": Object {
730 "qualityProfiles": Array [
748 className="display-flex-center display-flex-space-between little-padded-top padded-bottom"
750 <withCurrentUserContext(Component)
751 branchLikes={Array []}
754 "breadcrumbs": Array [
764 "qualityGate": Object {
769 "qualityProfiles": Array [
781 <withCurrentUserContext(HeaderMeta)
784 "breadcrumbs": Array [
794 "qualityGate": Object {
799 "qualityProfiles": Array [
810 onWarningDismiss={[MockFunction]}
814 <withAppStateContext(Menu)
815 branchLikes={Array []}
818 "breadcrumbs": Array [
828 "qualityGate": Object {
833 "qualityProfiles": Array [
846 onToggleProjectInfo={[Function]}
853 <withCurrentUserContext(withMetricsContext(ProjectInformation))
856 "breadcrumbs": Array [
866 "qualityGate": Object {
871 "qualityProfiles": Array [
882 onComponentChange={[MockFunction]}
888 exports[`renders correctly: has warnings 1`] = `
891 id="context-navigation"
892 notif={<React.Fragment />}
895 className="display-flex-center display-flex-space-between little-padded-top"
897 <withCurrentUserContext(Component)
898 branchLikes={Array []}
901 "breadcrumbs": Array [
911 "qualityGate": Object {
916 "qualityProfiles": Array [
928 <withCurrentUserContext(HeaderMeta)
931 "breadcrumbs": Array [
941 "qualityGate": Object {
946 "qualityProfiles": Array [
957 onWarningDismiss={[MockFunction]}
961 "dismissable": false,
963 "message": "Lorem ipsum",
969 <withAppStateContext(Menu)
970 branchLikes={Array []}
973 "breadcrumbs": Array [
983 "qualityGate": Object {
988 "qualityProfiles": Array [
1001 onToggleProjectInfo={[Function]}
1005 onClose={[Function]}
1008 <withCurrentUserContext(withMetricsContext(ProjectInformation))
1011 "breadcrumbs": Array [
1018 "key": "my-project",
1019 "name": "MyProject",
1021 "qualityGate": Object {
1024 "name": "Sonar way",
1026 "qualityProfiles": Array [
1031 "name": "Sonar way",
1037 onComponentChange={[MockFunction]}