]> source.dussan.org Git - sonarqube.git/blob
339b1f60693a3fdc3da10b9cdb25872b7808e4af
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <Modal
5   contentLabel="my_profile.password.title"
6   onRequestClose={[MockFunction]}
7   size="small"
8 >
9   <form
10     autoComplete="off"
11     id="user-password-form"
12     onSubmit={[Function]}
13   >
14     <header
15       className="modal-head"
16     >
17       <h2>
18         my_profile.password.title
19       </h2>
20     </header>
21     <div
22       className="modal-body"
23     >
24       <div
25         className="modal-field"
26       >
27         <label
28           htmlFor="old-user-password"
29         >
30           my_profile.password.old
31           <em
32             className="mandatory"
33           >
34             *
35           </em>
36         </label>
37         <input
38           className="hidden"
39           name="old-password-fake"
40           type="password"
41         />
42         <input
43           id="old-user-password"
44           name="old-password"
45           onChange={[Function]}
46           required={true}
47           type="password"
48           value=""
49         />
50       </div>
51       <div
52         className="modal-field"
53       >
54         <label
55           htmlFor="user-password"
56         >
57           my_profile.password.new
58           <em
59             className="mandatory"
60           >
61             *
62           </em>
63         </label>
64         <input
65           className="hidden"
66           name="password-fake"
67           type="password"
68         />
69         <input
70           id="user-password"
71           name="password"
72           onChange={[Function]}
73           required={true}
74           type="password"
75           value=""
76         />
77       </div>
78       <div
79         className="modal-field"
80       >
81         <label
82           htmlFor="confirm-user-password"
83         >
84           my_profile.password.confirm
85           <em
86             className="mandatory"
87           >
88             *
89           </em>
90         </label>
91         <input
92           className="hidden"
93           name="confirm-password-fake"
94           type="password"
95         />
96         <input
97           id="confirm-user-password"
98           name="confirm-password"
99           onChange={[Function]}
100           required={true}
101           type="password"
102           value=""
103         />
104       </div>
105     </div>
106     <footer
107       className="modal-foot"
108     >
109       <SubmitButton
110         disabled={true}
111       >
112         change_verb
113       </SubmitButton>
114       <ResetButtonLink
115         onClick={[MockFunction]}
116       >
117         cancel
118       </ResetButtonLink>
119     </footer>
120   </form>
121 </Modal>
122 `;