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"
133 className="abs-width-400 big-spacer-top it__configuration-name-select"
136 "Option": [Function],
137 "SingleValue": [Function],
143 onChange={[Function]}
149 "url": "http://github.enterprise.com",
154 "url": "http://github.enterprise.com",
159 "url": "http://bbs.enterprise.com",
172 "url": "http://github.enterprise.com",
179 <withAppStateContext(AlmSpecificForm)
185 "repository": "account/repo",
193 "url": "http://github.enterprise.com",
198 "url": "http://github.enterprise.com",
203 "url": "http://bbs.enterprise.com",
211 onFieldChange={[MockFunction]}
214 className="display-flex-center big-spacer-top action-section"
217 className="spacer-right"
218 onClick={[MockFunction]}
221 data-test="project-settings__alm-reset"
228 onClick={[MockFunction]}
230 settings.pr_decoration.binding.check_configuration
232 className="spacer-left"
238 className="big-spacer-top"
243 className="spacer-bottom"
245 settings.pr_decoration.binding.check_configuration.failure
248 className="list-styled"
263 defaultMessage="settings.pr_decoration.binding.check_configuration.failure.check_global_settings"
264 id="settings.pr_decoration.binding.check_configuration.failure.check_global_settings"
270 "pathname": "/admin/settings",
271 "search": "?category=almintegration&alm=github",
275 settings.pr_decoration.binding.check_configuration.failure.check_global_settings.link
286 exports[`should render correctly: when there are configuration errors (admin user) and error are at PROJECT level 1`] = `
289 className="page-header"
292 className="page-title"
294 settings.pr_decoration.binding.title
298 className="markdown small spacer-top big-spacer-bottom"
300 settings.pr_decoration.binding.description
303 onSubmit={[Function]}
305 <MandatoryFieldsExplanation
306 className="form-field"
309 className="settings-definition big-spacer-bottom"
312 className="settings-definition-left"
318 settings.pr_decoration.binding.form.name
319 <MandatoryFieldMarker
320 className="spacer-right"
324 className="markdown small spacer-top"
326 settings.pr_decoration.binding.form.name.help
330 className="settings-definition-right"
333 className="abs-width-400 big-spacer-top it__configuration-name-select"
336 "Option": [Function],
337 "SingleValue": [Function],
343 onChange={[Function]}
349 "url": "http://github.enterprise.com",
354 "url": "http://github.enterprise.com",
359 "url": "http://bbs.enterprise.com",
372 className="display-flex-center big-spacer-top action-section"
375 className="spacer-right"
376 onClick={[MockFunction]}
379 data-test="project-settings__alm-reset"
386 onClick={[MockFunction]}
388 settings.pr_decoration.binding.check_configuration
390 className="spacer-left"
396 className="big-spacer-top"
401 className="spacer-bottom"
403 settings.pr_decoration.binding.check_configuration.failure
406 className="list-styled"
424 exports[`should render correctly: when there are configuration errors (non-admin user) 1`] = `
427 className="page-header"
430 className="page-title"
432 settings.pr_decoration.binding.title
436 className="markdown small spacer-top big-spacer-bottom"
438 settings.pr_decoration.binding.description
441 onSubmit={[Function]}
443 <MandatoryFieldsExplanation
444 className="form-field"
447 className="settings-definition big-spacer-bottom"
450 className="settings-definition-left"
456 settings.pr_decoration.binding.form.name
457 <MandatoryFieldMarker
458 className="spacer-right"
462 className="markdown small spacer-top"
464 settings.pr_decoration.binding.form.name.help
468 className="settings-definition-right"
471 className="abs-width-400 big-spacer-top it__configuration-name-select"
474 "Option": [Function],
475 "SingleValue": [Function],
481 onChange={[Function]}
487 "url": "http://github.enterprise.com",
492 "url": "http://github.enterprise.com",
497 "url": "http://bbs.enterprise.com",
510 className="display-flex-center big-spacer-top action-section"
513 className="spacer-right"
514 onClick={[MockFunction]}
517 data-test="project-settings__alm-reset"
524 onClick={[MockFunction]}
526 settings.pr_decoration.binding.check_configuration
528 className="spacer-left"
534 className="big-spacer-top"
539 className="spacer-bottom"
541 settings.pr_decoration.binding.check_configuration.failure
544 className="list-styled"
558 settings.pr_decoration.binding.check_configuration.contact_admin
565 exports[`should render correctly: with a single ALM instance 1`] = `
568 className="page-header"
571 className="page-title"
573 settings.pr_decoration.binding.title
577 className="markdown small spacer-top big-spacer-bottom"
579 settings.pr_decoration.binding.description
582 onSubmit={[Function]}
584 <MandatoryFieldsExplanation
585 className="form-field"
588 className="settings-definition big-spacer-bottom"
591 className="settings-definition-left"
597 settings.pr_decoration.binding.form.name
598 <MandatoryFieldMarker
599 className="spacer-right"
603 className="markdown small spacer-top"
605 settings.pr_decoration.binding.form.name.help
609 className="settings-definition-right"
612 className="abs-width-400 big-spacer-top it__configuration-name-select"
615 "Option": [Function],
616 "SingleValue": [Function],
622 onChange={[Function]}
628 "url": "http://github.enterprise.com",
637 className="display-flex-center big-spacer-top action-section"
643 exports[`should render correctly: with a valid and saved form 1`] = `
646 className="page-header"
649 className="page-title"
651 settings.pr_decoration.binding.title
655 className="markdown small spacer-top big-spacer-bottom"
657 settings.pr_decoration.binding.description
660 onSubmit={[Function]}
662 <MandatoryFieldsExplanation
663 className="form-field"
666 className="settings-definition big-spacer-bottom"
669 className="settings-definition-left"
675 settings.pr_decoration.binding.form.name
676 <MandatoryFieldMarker
677 className="spacer-right"
681 className="markdown small spacer-top"
683 settings.pr_decoration.binding.form.name.help
687 className="settings-definition-right"
690 className="abs-width-400 big-spacer-top it__configuration-name-select"
693 "Option": [Function],
694 "SingleValue": [Function],
700 onChange={[Function]}
706 "url": "http://github.enterprise.com",
711 "url": "http://github.enterprise.com",
716 "url": "http://bbs.enterprise.com",
729 "url": "http://github.enterprise.com",
736 <withAppStateContext(AlmSpecificForm)
742 "repository": "account/repo",
750 "url": "http://github.enterprise.com",
755 "url": "http://github.enterprise.com",
760 "url": "http://bbs.enterprise.com",
768 onFieldChange={[MockFunction]}
771 className="display-flex-center big-spacer-top action-section"
774 className="spacer-right"
775 onClick={[MockFunction]}
778 data-test="project-settings__alm-reset"
785 onClick={[MockFunction]}
787 settings.pr_decoration.binding.check_configuration
789 className="spacer-left"
795 className="big-spacer-top"
799 settings.pr_decoration.binding.check_configuration.success
805 exports[`should render correctly: with an empty form 1`] = `
808 className="page-header"
811 className="page-title"
813 settings.pr_decoration.binding.title
817 className="markdown small spacer-top big-spacer-bottom"
819 settings.pr_decoration.binding.description
822 onSubmit={[Function]}
824 <MandatoryFieldsExplanation
825 className="form-field"
828 className="settings-definition big-spacer-bottom"
831 className="settings-definition-left"
837 settings.pr_decoration.binding.form.name
838 <MandatoryFieldMarker
839 className="spacer-right"
843 className="markdown small spacer-top"
845 settings.pr_decoration.binding.form.name.help
849 className="settings-definition-right"
852 className="abs-width-400 big-spacer-top it__configuration-name-select"
855 "Option": [Function],
856 "SingleValue": [Function],
862 onChange={[Function]}
868 "url": "http://github.enterprise.com",
873 "url": "http://github.enterprise.com",
878 "url": "http://bbs.enterprise.com",
891 className="display-flex-center big-spacer-top action-section"
897 exports[`should render correctly: with no ALM instances (admin user) 1`] = `
900 className="spacer-top huge-spacer-bottom"
904 defaultMessage="settings.pr_decoration.binding.no_bindings.admin"
905 id="settings.pr_decoration.binding.no_bindings.admin"
911 "pathname": "/admin/settings",
912 "search": "?category=almintegration",
916 settings.pr_decoration.binding.no_bindings.link
925 exports[`should render correctly: with no ALM instances (non-admin user) 1`] = `
928 className="spacer-top huge-spacer-bottom"
931 settings.pr_decoration.binding.no_bindings