]> source.dussan.org Git - sonarqube.git/blob
af33a0929193696828443f135e8959eaee2c679d
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`render correctly 1`] = `
4 <SimpleModal
5   header="projects_role.apply_template_to_xxx.Foo"
6   onClose={[MockFunction]}
7   onSubmit={[Function]}
8   size="small"
9 >
10   <Component />
11 </SimpleModal>
12 `;
13
14 exports[`render correctly 2`] = `
15 <Modal
16   contentLabel="projects_role.apply_template_to_xxx.Foo"
17   onRequestClose={[MockFunction]}
18   size="small"
19 >
20   <form
21     id="project-permissions-apply-template-form"
22     onSubmit={[Function]}
23   >
24     <header
25       className="modal-head"
26     >
27       <h2>
28         projects_role.apply_template_to_xxx.Foo
29       </h2>
30     </header>
31     <div
32       className="modal-body"
33     >
34       <div
35         className="modal-field"
36       >
37         <label
38           htmlFor="project-permissions-template"
39         >
40           template
41           <em
42             className="mandatory"
43           >
44             *
45           </em>
46         </label>
47         <Select
48           clearable={false}
49           id="project-permissions-template"
50           onChange={[Function]}
51           options={
52             Array [
53               Object {
54                 "label": "SonarSource projects",
55                 "value": "tmp1",
56               },
57             ]
58           }
59         />
60       </div>
61     </div>
62     <footer
63       className="modal-foot"
64     >
65       <DeferredSpinner
66         className="spacer-right"
67         loading={false}
68       />
69       <SubmitButton
70         disabled={true}
71       >
72         apply
73       </SubmitButton>
74       <ResetButtonLink
75         onClick={[Function]}
76       >
77         cancel
78       </ResetButtonLink>
79     </footer>
80   </form>
81 </Modal>
82 `;