1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly: add language 1`] = `
5 className="page page-limited"
6 id="project-quality-profiles"
9 suggestions="project_quality_profiles"
13 encodeSpecialCharacters={true}
14 title="project_quality_profiles.page"
17 anchor="profiles_main"
20 className="page-header"
23 className="page-title display-flex-center"
26 project_quality_profiles.page
30 className="spacer-left"
33 className="big-padded-top big-padded-bottom"
35 quality_profiles.list.projects.help
42 className="boxed-group"
45 className="boxed-group-header"
47 project_quality_profile.subtitle
50 className="boxed-group-inner"
53 className="big-spacer-bottom"
55 project_quality_profiles.page.description
58 className="data zebra"
66 className="thin nowrap"
68 project_quality_profile.current
71 className="thin nowrap text-right"
73 coding_rules.filters.activation.active_rules
88 className="thin nowrap"
91 className="display-inline-flex-center"
94 project_quality_profile.instance_default
99 className="nowrap text-right"
102 onlyActiveOnIndex={false}
106 "pathname": "/coding_rules",
108 "activation": "true",
118 className="text-right"
124 className="spacer-right"
126 project_quality_profile.change_profile
137 className="thin nowrap"
140 className="display-inline-flex-center"
146 className="nowrap text-right"
149 onlyActiveOnIndex={false}
153 "pathname": "/coding_rules",
155 "activation": "true",
165 className="text-right"
171 className="spacer-right"
173 project_quality_profile.change_profile
184 className="thin nowrap"
187 className="display-inline-flex-center"
190 project_quality_profile.instance_default
195 className="nowrap text-right"
198 onlyActiveOnIndex={false}
202 "pathname": "/coding_rules",
204 "activation": "true",
214 className="text-right"
220 className="spacer-right"
222 project_quality_profile.change_profile
229 className="big-spacer-top"
232 project_quality_profile.add_language.title
235 className="spacer-top big-spacer-bottom"
237 project_quality_profile.add_language.description
241 onClick={[MockFunction]}
244 className="little-spacer-right"
246 project_quality_profile.add_language.action
249 <Connect(AddLanguageModal)
250 onClose={[MockFunction]}
251 onSubmit={[MockFunction]}
256 "activeDeprecatedRuleCount": 2,
257 "activeRuleCount": 10,
262 "isInherited": false,
265 "languageName": "JavaScript",
272 "activeDeprecatedRuleCount": 2,
273 "activeRuleCount": 10,
278 "isInherited": false,
281 "languageName": "JavaScript",
288 "activeDeprecatedRuleCount": 2,
289 "activeRuleCount": 10,
294 "isInherited": false,
297 "languageName": "JavaScript",
304 unavailableLanguages={
317 exports[`should render correctly: default 1`] = `
319 className="page page-limited"
320 id="project-quality-profiles"
323 suggestions="project_quality_profiles"
327 encodeSpecialCharacters={true}
328 title="project_quality_profiles.page"
331 anchor="profiles_main"
334 className="page-header"
337 className="page-title display-flex-center"
340 project_quality_profiles.page
344 className="spacer-left"
347 className="big-padded-top big-padded-bottom"
349 quality_profiles.list.projects.help
356 className="boxed-group"
359 className="boxed-group-header"
361 project_quality_profile.subtitle
364 className="boxed-group-inner"
367 className="big-spacer-bottom"
369 project_quality_profiles.page.description
372 className="data zebra"
380 className="thin nowrap"
382 project_quality_profile.current
385 className="thin nowrap text-right"
387 coding_rules.filters.activation.active_rules
402 className="thin nowrap"
405 className="display-inline-flex-center"
408 project_quality_profile.instance_default
413 className="nowrap text-right"
416 onlyActiveOnIndex={false}
420 "pathname": "/coding_rules",
422 "activation": "true",
432 className="text-right"
438 className="spacer-right"
440 project_quality_profile.change_profile
451 className="thin nowrap"
454 className="display-inline-flex-center"
460 className="nowrap text-right"
463 onlyActiveOnIndex={false}
467 "pathname": "/coding_rules",
469 "activation": "true",
479 className="text-right"
485 className="spacer-right"
487 project_quality_profile.change_profile
498 className="thin nowrap"
501 className="display-inline-flex-center"
504 project_quality_profile.instance_default
509 className="nowrap text-right"
512 onlyActiveOnIndex={false}
516 "pathname": "/coding_rules",
518 "activation": "true",
528 className="text-right"
534 className="spacer-right"
536 project_quality_profile.change_profile
543 className="big-spacer-top"
546 project_quality_profile.add_language.title
549 className="spacer-top big-spacer-bottom"
551 project_quality_profile.add_language.description
555 onClick={[MockFunction]}
558 className="little-spacer-right"
560 project_quality_profile.add_language.action
568 exports[`should render correctly: loading 1`] = `
570 className="page page-limited"
571 id="project-quality-profiles"
574 suggestions="project_quality_profiles"
578 encodeSpecialCharacters={true}
579 title="project_quality_profiles.page"
582 anchor="profiles_main"
585 className="page-header"
588 className="page-title display-flex-center"
591 project_quality_profiles.page
595 className="spacer-left"
598 className="big-padded-top big-padded-bottom"
600 quality_profiles.list.projects.help
607 className="boxed-group"
610 className="boxed-group-header"
612 project_quality_profile.subtitle
615 className="boxed-group-inner"
618 className="big-spacer-bottom"
620 project_quality_profiles.page.description
623 className="spinner spacer-left"
626 className="big-spacer-top"
629 project_quality_profile.add_language.title
632 className="spacer-top big-spacer-bottom"
634 project_quality_profile.add_language.description
638 onClick={[MockFunction]}
641 className="little-spacer-right"
643 project_quality_profile.add_language.action
651 exports[`should render correctly: open profile 1`] = `
653 className="page page-limited"
654 id="project-quality-profiles"
657 suggestions="project_quality_profiles"
661 encodeSpecialCharacters={true}
662 title="project_quality_profiles.page"
665 anchor="profiles_main"
668 className="page-header"
671 className="page-title display-flex-center"
674 project_quality_profiles.page
678 className="spacer-left"
681 className="big-padded-top big-padded-bottom"
683 quality_profiles.list.projects.help
690 className="boxed-group"
693 className="boxed-group-header"
695 project_quality_profile.subtitle
698 className="boxed-group-inner"
701 className="big-spacer-bottom"
703 project_quality_profiles.page.description
706 className="data zebra"
714 className="thin nowrap"
716 project_quality_profile.current
719 className="thin nowrap text-right"
721 coding_rules.filters.activation.active_rules
736 className="thin nowrap"
739 className="display-inline-flex-center"
742 project_quality_profile.instance_default
747 className="nowrap text-right"
750 onlyActiveOnIndex={false}
754 "pathname": "/coding_rules",
756 "activation": "true",
766 className="text-right"
772 className="spacer-right"
774 project_quality_profile.change_profile
785 className="thin nowrap"
788 className="display-inline-flex-center"
794 className="nowrap text-right"
797 onlyActiveOnIndex={false}
801 "pathname": "/coding_rules",
803 "activation": "true",
813 className="text-right"
819 className="spacer-right"
821 project_quality_profile.change_profile
832 className="thin nowrap"
835 className="display-inline-flex-center"
838 project_quality_profile.instance_default
843 className="nowrap text-right"
846 onlyActiveOnIndex={false}
850 "pathname": "/coding_rules",
852 "activation": "true",
862 className="text-right"
868 className="spacer-right"
870 project_quality_profile.change_profile
877 className="big-spacer-top"
880 project_quality_profile.add_language.title
883 className="spacer-top big-spacer-bottom"
885 project_quality_profile.add_language.description
889 onClick={[MockFunction]}
892 className="little-spacer-right"
894 project_quality_profile.add_language.action
897 <SetQualityProfileModal
901 "activeDeprecatedRuleCount": 2,
902 "activeRuleCount": 10,
907 "isInherited": false,
910 "languageName": "JavaScript",
918 "breadcrumbs": Array [],
922 "qualityGate": Object {
927 "qualityProfiles": Array [
940 "activeDeprecatedRuleCount": 2,
941 "activeRuleCount": 10,
946 "isInherited": false,
949 "languageName": "JavaScript",
954 onClose={[MockFunction]}
955 onSubmit={[MockFunction]}