]> source.dussan.org Git - sonarqube.git/blob
81929a3bd56ed144f6caa1ba5a3f14c51abb7ebe
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <Modal
5   contentLabel="quality_profiles.change_parent"
6   onRequestClose={[MockFunction]}
7   size="small"
8 >
9   <form
10     id="change-profile-parent-form"
11     onSubmit={[Function]}
12   >
13     <div
14       className="modal-head"
15     >
16       <h2>
17         quality_profiles.change_parent
18       </h2>
19     </div>
20     <div
21       className="modal-body"
22     >
23       <div
24         className="modal-field"
25       >
26         <label
27           htmlFor="change-profile-parent"
28         >
29           quality_profiles.parent
30            
31           <em
32             className="mandatory"
33           >
34             *
35           </em>
36         </label>
37         <Select
38           clearable={false}
39           id="change-profile-parent"
40           name="parentKey"
41           onChange={[Function]}
42           options={
43             Array [
44               Object {
45                 "label": "none",
46                 "value": "",
47               },
48               Object {
49                 "label": "name",
50                 "value": "key",
51               },
52               Object {
53                 "label": "name",
54                 "value": "key",
55               },
56               Object {
57                 "label": "name",
58                 "value": "key",
59               },
60               Object {
61                 "label": "name",
62                 "value": "key",
63               },
64             ]
65           }
66           value=""
67         />
68       </div>
69     </div>
70     <div
71       className="modal-foot"
72     >
73       <SubmitButton
74         disabled={true}
75         id="change-profile-parent-submit"
76       >
77         change_verb
78       </SubmitButton>
79       <ResetButtonLink
80         id="change-profile-parent-cancel"
81         onClick={[MockFunction]}
82       >
83         cancel
84       </ResetButtonLink>
85     </div>
86   </form>
87 </Modal>
88 `;