]> source.dussan.org Git - sonarqube.git/blob
227de4584d05d584808a4a61ec6cd464f72a7c28
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <Modal
5   contentLabel="quality_profiles.extend_x_title.name.JavaScript"
6   onRequestClose={[MockFunction]}
7   size="small"
8 >
9   <form
10     onSubmit={[Function]}
11   >
12     <div
13       className="modal-head"
14     >
15       <h2>
16         quality_profiles.extend_x_title.name.JavaScript
17       </h2>
18     </div>
19     <div
20       className="modal-body"
21     >
22       <MandatoryFieldsExplanation
23         className="modal-field"
24       />
25       <div
26         className="modal-field"
27       >
28         <label
29           htmlFor="extend-profile-name"
30         >
31           quality_profiles.copy_new_name
32           <MandatoryFieldMarker />
33         </label>
34         <input
35           autoFocus={true}
36           id="extend-profile-name"
37           maxLength={100}
38           name="name"
39           onChange={[Function]}
40           required={true}
41           size={50}
42           type="text"
43           value=""
44         />
45       </div>
46     </div>
47     <div
48       className="modal-foot"
49     >
50       <DeferredSpinner
51         className="spacer-right"
52         loading={false}
53       />
54       <SubmitButton
55         disabled={true}
56         id="extend-profile-submit"
57       >
58         extend
59       </SubmitButton>
60       <ResetButtonLink
61         id="extend-profile-cancel"
62         onClick={[MockFunction]}
63       >
64         cancel
65       </ResetButtonLink>
66     </div>
67   </form>
68 </Modal>
69 `;