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",
117 className="text-right"
123 className="spacer-right"
125 project_quality_profile.change_profile
136 className="thin nowrap"
139 className="display-inline-flex-center"
145 className="nowrap text-right"
148 onlyActiveOnIndex={false}
152 "pathname": "/coding_rules",
163 className="text-right"
169 className="spacer-right"
171 project_quality_profile.change_profile
182 className="thin nowrap"
185 className="display-inline-flex-center"
188 project_quality_profile.instance_default
193 className="nowrap text-right"
196 onlyActiveOnIndex={false}
200 "pathname": "/coding_rules",
211 className="text-right"
217 className="spacer-right"
219 project_quality_profile.change_profile
226 className="big-spacer-top"
229 project_quality_profile.add_language.title
232 className="spacer-top big-spacer-bottom"
234 project_quality_profile.add_language.description
238 onClick={[MockFunction]}
241 className="little-spacer-right"
243 project_quality_profile.add_language.action
246 <Connect(AddLanguageModal)
247 onClose={[MockFunction]}
248 onSubmit={[MockFunction]}
253 "activeDeprecatedRuleCount": 2,
254 "activeRuleCount": 10,
259 "isInherited": false,
262 "languageName": "JavaScript",
269 "activeDeprecatedRuleCount": 2,
270 "activeRuleCount": 10,
275 "isInherited": false,
278 "languageName": "JavaScript",
285 "activeDeprecatedRuleCount": 2,
286 "activeRuleCount": 10,
291 "isInherited": false,
294 "languageName": "JavaScript",
301 unavailableLanguages={
314 exports[`should render correctly: default 1`] = `
316 className="page page-limited"
317 id="project-quality-profiles"
320 suggestions="project_quality_profiles"
324 encodeSpecialCharacters={true}
325 title="project_quality_profiles.page"
328 anchor="profiles_main"
331 className="page-header"
334 className="page-title display-flex-center"
337 project_quality_profiles.page
341 className="spacer-left"
344 className="big-padded-top big-padded-bottom"
346 quality_profiles.list.projects.help
353 className="boxed-group"
356 className="boxed-group-header"
358 project_quality_profile.subtitle
361 className="boxed-group-inner"
364 className="big-spacer-bottom"
366 project_quality_profiles.page.description
369 className="data zebra"
377 className="thin nowrap"
379 project_quality_profile.current
382 className="thin nowrap text-right"
384 coding_rules.filters.activation.active_rules
399 className="thin nowrap"
402 className="display-inline-flex-center"
405 project_quality_profile.instance_default
410 className="nowrap text-right"
413 onlyActiveOnIndex={false}
417 "pathname": "/coding_rules",
428 className="text-right"
434 className="spacer-right"
436 project_quality_profile.change_profile
447 className="thin nowrap"
450 className="display-inline-flex-center"
456 className="nowrap text-right"
459 onlyActiveOnIndex={false}
463 "pathname": "/coding_rules",
474 className="text-right"
480 className="spacer-right"
482 project_quality_profile.change_profile
493 className="thin nowrap"
496 className="display-inline-flex-center"
499 project_quality_profile.instance_default
504 className="nowrap text-right"
507 onlyActiveOnIndex={false}
511 "pathname": "/coding_rules",
522 className="text-right"
528 className="spacer-right"
530 project_quality_profile.change_profile
537 className="big-spacer-top"
540 project_quality_profile.add_language.title
543 className="spacer-top big-spacer-bottom"
545 project_quality_profile.add_language.description
549 onClick={[MockFunction]}
552 className="little-spacer-right"
554 project_quality_profile.add_language.action
562 exports[`should render correctly: loading 1`] = `
564 className="page page-limited"
565 id="project-quality-profiles"
568 suggestions="project_quality_profiles"
572 encodeSpecialCharacters={true}
573 title="project_quality_profiles.page"
576 anchor="profiles_main"
579 className="page-header"
582 className="page-title display-flex-center"
585 project_quality_profiles.page
589 className="spacer-left"
592 className="big-padded-top big-padded-bottom"
594 quality_profiles.list.projects.help
601 className="boxed-group"
604 className="boxed-group-header"
606 project_quality_profile.subtitle
609 className="boxed-group-inner"
612 className="big-spacer-bottom"
614 project_quality_profiles.page.description
617 className="spinner spacer-left"
620 className="big-spacer-top"
623 project_quality_profile.add_language.title
626 className="spacer-top big-spacer-bottom"
628 project_quality_profile.add_language.description
632 onClick={[MockFunction]}
635 className="little-spacer-right"
637 project_quality_profile.add_language.action
645 exports[`should render correctly: open profile 1`] = `
647 className="page page-limited"
648 id="project-quality-profiles"
651 suggestions="project_quality_profiles"
655 encodeSpecialCharacters={true}
656 title="project_quality_profiles.page"
659 anchor="profiles_main"
662 className="page-header"
665 className="page-title display-flex-center"
668 project_quality_profiles.page
672 className="spacer-left"
675 className="big-padded-top big-padded-bottom"
677 quality_profiles.list.projects.help
684 className="boxed-group"
687 className="boxed-group-header"
689 project_quality_profile.subtitle
692 className="boxed-group-inner"
695 className="big-spacer-bottom"
697 project_quality_profiles.page.description
700 className="data zebra"
708 className="thin nowrap"
710 project_quality_profile.current
713 className="thin nowrap text-right"
715 coding_rules.filters.activation.active_rules
730 className="thin nowrap"
733 className="display-inline-flex-center"
736 project_quality_profile.instance_default
741 className="nowrap text-right"
744 onlyActiveOnIndex={false}
748 "pathname": "/coding_rules",
759 className="text-right"
765 className="spacer-right"
767 project_quality_profile.change_profile
778 className="thin nowrap"
781 className="display-inline-flex-center"
787 className="nowrap text-right"
790 onlyActiveOnIndex={false}
794 "pathname": "/coding_rules",
805 className="text-right"
811 className="spacer-right"
813 project_quality_profile.change_profile
824 className="thin nowrap"
827 className="display-inline-flex-center"
830 project_quality_profile.instance_default
835 className="nowrap text-right"
838 onlyActiveOnIndex={false}
842 "pathname": "/coding_rules",
853 className="text-right"
859 className="spacer-right"
861 project_quality_profile.change_profile
868 className="big-spacer-top"
871 project_quality_profile.add_language.title
874 className="spacer-top big-spacer-bottom"
876 project_quality_profile.add_language.description
880 onClick={[MockFunction]}
883 className="little-spacer-right"
885 project_quality_profile.add_language.action
888 <SetQualityProfileModal
892 "activeDeprecatedRuleCount": 2,
893 "activeRuleCount": 10,
898 "isInherited": false,
901 "languageName": "JavaScript",
909 "breadcrumbs": Array [],
913 "qualityGate": Object {
918 "qualityProfiles": Array [
931 "activeDeprecatedRuleCount": 2,
932 "activeRuleCount": 10,
937 "isInherited": false,
940 "languageName": "JavaScript",
945 onClose={[MockFunction]}
946 onSubmit={[MockFunction]}