]> source.dussan.org Git - sonarqube.git/blob
af1f6b1baf442c894387253977e6d58928399cf1
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders 1`] = `
4 <Modal
5   contentLabel="project_branch_pull_request.branch.rename"
6   onRequestClose={[MockFunction]}
7   size="small"
8 >
9   <header
10     className="modal-head"
11   >
12     <h2>
13       project_branch_pull_request.branch.rename
14     </h2>
15   </header>
16   <form
17     onSubmit={[Function]}
18   >
19     <div
20       className="modal-body"
21     >
22       <div
23         className="modal-field"
24       >
25         <label
26           htmlFor="rename-branch-name"
27         >
28           new_name
29           <em
30             className="mandatory"
31           >
32             *
33           </em>
34         </label>
35         <input
36           autoFocus={true}
37           id="rename-branch-name"
38           maxLength={100}
39           name="name"
40           onChange={[Function]}
41           required={true}
42           size={50}
43           type="text"
44           value="master"
45         />
46       </div>
47     </div>
48     <footer
49       className="modal-foot"
50     >
51       <SubmitButton
52         disabled={true}
53       >
54         rename
55       </SubmitButton>
56       <ResetButtonLink
57         onClick={[MockFunction]}
58       >
59         cancel
60       </ResetButtonLink>
61     </footer>
62   </form>
63 </Modal>
64 `;
65
66 exports[`renders 2`] = `
67 <Modal
68   contentLabel="project_branch_pull_request.branch.rename"
69   onRequestClose={[MockFunction]}
70   size="small"
71 >
72   <header
73     className="modal-head"
74   >
75     <h2>
76       project_branch_pull_request.branch.rename
77     </h2>
78   </header>
79   <form
80     onSubmit={[Function]}
81   >
82     <div
83       className="modal-body"
84     >
85       <div
86         className="modal-field"
87       >
88         <label
89           htmlFor="rename-branch-name"
90         >
91           new_name
92           <em
93             className="mandatory"
94           >
95             *
96           </em>
97         </label>
98         <input
99           autoFocus={true}
100           id="rename-branch-name"
101           maxLength={100}
102           name="name"
103           onChange={[Function]}
104           required={true}
105           size={50}
106           type="text"
107           value="dev"
108         />
109       </div>
110     </div>
111     <footer
112       className="modal-foot"
113     >
114       <SubmitButton
115         disabled={false}
116       >
117         rename
118       </SubmitButton>
119       <ResetButtonLink
120         onClick={[MockFunction]}
121       >
122         cancel
123       </ResetButtonLink>
124     </footer>
125   </form>
126 </Modal>
127 `;
128
129 exports[`renders 3`] = `
130 <Modal
131   contentLabel="project_branch_pull_request.branch.rename"
132   onRequestClose={[MockFunction]}
133   size="small"
134 >
135   <header
136     className="modal-head"
137   >
138     <h2>
139       project_branch_pull_request.branch.rename
140     </h2>
141   </header>
142   <form
143     onSubmit={[Function]}
144   >
145     <div
146       className="modal-body"
147     >
148       <div
149         className="modal-field"
150       >
151         <label
152           htmlFor="rename-branch-name"
153         >
154           new_name
155           <em
156             className="mandatory"
157           >
158             *
159           </em>
160         </label>
161         <input
162           autoFocus={true}
163           id="rename-branch-name"
164           maxLength={100}
165           name="name"
166           onChange={[Function]}
167           required={true}
168           size={50}
169           type="text"
170           value="dev"
171         />
172       </div>
173     </div>
174     <footer
175       className="modal-foot"
176     >
177       <i
178         className="spinner spacer-right"
179       />
180       <SubmitButton
181         disabled={true}
182       >
183         rename
184       </SubmitButton>
185       <ResetButtonLink
186         onClick={[MockFunction]}
187       >
188         cancel
189       </ResetButtonLink>
190     </footer>
191   </form>
192 </Modal>
193 `;