1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should display action section correctly when: configuration check is in progress 1`] = `
5 className="display-flex-center big-spacer-top action-section"
8 className="spacer-right"
9 onClick={[MockFunction]}
12 data-test="project-settings__alm-reset"
19 onClick={[MockFunction]}
21 settings.pr_decoration.binding.check_configuration
23 className="spacer-left"
30 exports[`should display action section correctly when: configuration is saved 1`] = `
32 className="display-flex-center big-spacer-top action-section"
35 className="spacer-right"
36 onClick={[MockFunction]}
39 data-test="project-settings__alm-reset"
46 onClick={[MockFunction]}
48 settings.pr_decoration.binding.check_configuration
50 className="spacer-left"
57 exports[`should display action section correctly when: form is valid 1`] = `
59 className="display-flex-center big-spacer-top action-section"
63 exports[`should display action section correctly when: update is successfull 1`] = `
65 className="display-flex-center big-spacer-top action-section"
68 className="text-success spacer-right"
71 className="spacer-right"
78 exports[`should display action section correctly when: updating 1`] = `
80 className="display-flex-center big-spacer-top action-section"
84 exports[`should render correctly: when loading 1`] = `<DeferredSpinner />`;
86 exports[`should render correctly: when there are configuration errors (admin user) 1`] = `
89 className="page-header"
92 className="page-title"
94 settings.pr_decoration.binding.title
98 className="markdown small spacer-top big-spacer-bottom"
100 settings.pr_decoration.binding.description
103 onSubmit={[Function]}
105 <MandatoryFieldsExplanation
106 className="form-field"
109 className="settings-definition big-spacer-bottom"
112 className="settings-definition-left"
118 settings.pr_decoration.binding.form.name
119 <MandatoryFieldMarker
120 className="spacer-right"
124 className="markdown small spacer-top"
126 settings.pr_decoration.binding.form.name.help
130 className="settings-definition-right"
134 className="abs-width-400 big-spacer-top"
143 onChange={[Function]}
144 optionRenderer={[Function]}
150 "url": "http://github.enterprise.com",
155 "url": "http://github.enterprise.com",
160 "url": "http://bbs.enterprise.com",
171 valueRenderer={[Function]}
175 <withAppStateContext(AlmSpecificForm)
181 "repository": "account/repo",
189 "url": "http://github.enterprise.com",
194 "url": "http://github.enterprise.com",
199 "url": "http://bbs.enterprise.com",
207 onFieldChange={[MockFunction]}
210 className="display-flex-center big-spacer-top action-section"
213 className="spacer-right"
214 onClick={[MockFunction]}
217 data-test="project-settings__alm-reset"
224 onClick={[MockFunction]}
226 settings.pr_decoration.binding.check_configuration
228 className="spacer-left"
234 className="big-spacer-top"
239 className="spacer-bottom"
241 settings.pr_decoration.binding.check_configuration.failure
244 className="list-styled"
259 defaultMessage="settings.pr_decoration.binding.check_configuration.failure.check_global_settings"
260 id="settings.pr_decoration.binding.check_configuration.failure.check_global_settings"
264 onlyActiveOnIndex={false}
268 "pathname": "/admin/settings",
271 "category": "almintegration",
276 settings.pr_decoration.binding.check_configuration.failure.check_global_settings.link
287 exports[`should render correctly: when there are configuration errors (admin user) and error are at PROJECT level 1`] = `
290 className="page-header"
293 className="page-title"
295 settings.pr_decoration.binding.title
299 className="markdown small spacer-top big-spacer-bottom"
301 settings.pr_decoration.binding.description
304 onSubmit={[Function]}
306 <MandatoryFieldsExplanation
307 className="form-field"
310 className="settings-definition big-spacer-bottom"
313 className="settings-definition-left"
319 settings.pr_decoration.binding.form.name
320 <MandatoryFieldMarker
321 className="spacer-right"
325 className="markdown small spacer-top"
327 settings.pr_decoration.binding.form.name.help
331 className="settings-definition-right"
335 className="abs-width-400 big-spacer-top"
344 onChange={[Function]}
345 optionRenderer={[Function]}
351 "url": "http://github.enterprise.com",
356 "url": "http://github.enterprise.com",
361 "url": "http://bbs.enterprise.com",
372 valueRenderer={[Function]}
377 className="display-flex-center big-spacer-top action-section"
380 className="spacer-right"
381 onClick={[MockFunction]}
384 data-test="project-settings__alm-reset"
391 onClick={[MockFunction]}
393 settings.pr_decoration.binding.check_configuration
395 className="spacer-left"
401 className="big-spacer-top"
406 className="spacer-bottom"
408 settings.pr_decoration.binding.check_configuration.failure
411 className="list-styled"
429 exports[`should render correctly: when there are configuration errors (non-admin user) 1`] = `
432 className="page-header"
435 className="page-title"
437 settings.pr_decoration.binding.title
441 className="markdown small spacer-top big-spacer-bottom"
443 settings.pr_decoration.binding.description
446 onSubmit={[Function]}
448 <MandatoryFieldsExplanation
449 className="form-field"
452 className="settings-definition big-spacer-bottom"
455 className="settings-definition-left"
461 settings.pr_decoration.binding.form.name
462 <MandatoryFieldMarker
463 className="spacer-right"
467 className="markdown small spacer-top"
469 settings.pr_decoration.binding.form.name.help
473 className="settings-definition-right"
477 className="abs-width-400 big-spacer-top"
486 onChange={[Function]}
487 optionRenderer={[Function]}
493 "url": "http://github.enterprise.com",
498 "url": "http://github.enterprise.com",
503 "url": "http://bbs.enterprise.com",
514 valueRenderer={[Function]}
519 className="display-flex-center big-spacer-top action-section"
522 className="spacer-right"
523 onClick={[MockFunction]}
526 data-test="project-settings__alm-reset"
533 onClick={[MockFunction]}
535 settings.pr_decoration.binding.check_configuration
537 className="spacer-left"
543 className="big-spacer-top"
548 className="spacer-bottom"
550 settings.pr_decoration.binding.check_configuration.failure
553 className="list-styled"
567 settings.pr_decoration.binding.check_configuration.contact_admin
574 exports[`should render correctly: with a single ALM instance 1`] = `
577 className="page-header"
580 className="page-title"
582 settings.pr_decoration.binding.title
586 className="markdown small spacer-top big-spacer-bottom"
588 settings.pr_decoration.binding.description
591 onSubmit={[Function]}
593 <MandatoryFieldsExplanation
594 className="form-field"
597 className="settings-definition big-spacer-bottom"
600 className="settings-definition-left"
606 settings.pr_decoration.binding.form.name
607 <MandatoryFieldMarker
608 className="spacer-right"
612 className="markdown small spacer-top"
614 settings.pr_decoration.binding.form.name.help
618 className="settings-definition-right"
622 className="abs-width-400 big-spacer-top"
631 onChange={[Function]}
632 optionRenderer={[Function]}
638 "url": "http://github.enterprise.com",
645 valueRenderer={[Function]}
650 className="display-flex-center big-spacer-top action-section"
656 exports[`should render correctly: with a valid and saved form 1`] = `
659 className="page-header"
662 className="page-title"
664 settings.pr_decoration.binding.title
668 className="markdown small spacer-top big-spacer-bottom"
670 settings.pr_decoration.binding.description
673 onSubmit={[Function]}
675 <MandatoryFieldsExplanation
676 className="form-field"
679 className="settings-definition big-spacer-bottom"
682 className="settings-definition-left"
688 settings.pr_decoration.binding.form.name
689 <MandatoryFieldMarker
690 className="spacer-right"
694 className="markdown small spacer-top"
696 settings.pr_decoration.binding.form.name.help
700 className="settings-definition-right"
704 className="abs-width-400 big-spacer-top"
713 onChange={[Function]}
714 optionRenderer={[Function]}
720 "url": "http://github.enterprise.com",
725 "url": "http://github.enterprise.com",
730 "url": "http://bbs.enterprise.com",
741 valueRenderer={[Function]}
745 <withAppStateContext(AlmSpecificForm)
751 "repository": "account/repo",
759 "url": "http://github.enterprise.com",
764 "url": "http://github.enterprise.com",
769 "url": "http://bbs.enterprise.com",
777 onFieldChange={[MockFunction]}
780 className="display-flex-center big-spacer-top action-section"
783 className="spacer-right"
784 onClick={[MockFunction]}
787 data-test="project-settings__alm-reset"
794 onClick={[MockFunction]}
796 settings.pr_decoration.binding.check_configuration
798 className="spacer-left"
804 className="big-spacer-top"
808 settings.pr_decoration.binding.check_configuration.success
814 exports[`should render correctly: with an empty form 1`] = `
817 className="page-header"
820 className="page-title"
822 settings.pr_decoration.binding.title
826 className="markdown small spacer-top big-spacer-bottom"
828 settings.pr_decoration.binding.description
831 onSubmit={[Function]}
833 <MandatoryFieldsExplanation
834 className="form-field"
837 className="settings-definition big-spacer-bottom"
840 className="settings-definition-left"
846 settings.pr_decoration.binding.form.name
847 <MandatoryFieldMarker
848 className="spacer-right"
852 className="markdown small spacer-top"
854 settings.pr_decoration.binding.form.name.help
858 className="settings-definition-right"
862 className="abs-width-400 big-spacer-top"
871 onChange={[Function]}
872 optionRenderer={[Function]}
878 "url": "http://github.enterprise.com",
883 "url": "http://github.enterprise.com",
888 "url": "http://bbs.enterprise.com",
899 valueRenderer={[Function]}
904 className="display-flex-center big-spacer-top action-section"
910 exports[`should render correctly: with no ALM instances (admin user) 1`] = `
913 className="spacer-top huge-spacer-bottom"
917 defaultMessage="settings.pr_decoration.binding.no_bindings.admin"
918 id="settings.pr_decoration.binding.no_bindings.admin"
922 onlyActiveOnIndex={false}
926 "pathname": "/admin/settings",
928 "category": "almintegration",
933 settings.pr_decoration.binding.no_bindings.link
942 exports[`should render correctly: with no ALM instances (non-admin user) 1`] = `
945 className="spacer-top huge-spacer-bottom"
948 settings.pr_decoration.binding.no_bindings
953 exports[`should render select options correctly 1`] = `
960 className="text-muted"
962 http://github.enterprise.com
967 exports[`should render select options correctly 2`] = `
974 className="text-muted"
976 http://github.enterprise.com