]> source.dussan.org Git - sonarqube.git/blob
58c919aa1e85936bb5bf726373c320c067944851
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`expands more options 1`] = `
4 <div
5   id="login_form"
6 >
7   <h1
8     className="maintenance-title text-center"
9   >
10     login.login_to_sonarqube
11   </h1>
12   <section
13     className="oauth-providers"
14   >
15     <ul>
16       <li>
17         <a
18           href="/sessions/init/foo"
19           style={
20             Object {
21               "backgroundColor": "#000",
22             }
23           }
24           title="Log in with foo"
25         >
26           <img
27             alt="foo"
28             height="20"
29             src="/some/path"
30             width="20"
31           />
32           <span>
33             Log in with 
34             foo
35           </span>
36         </a>
37       </li>
38     </ul>
39   </section>
40   <div
41     className="text-center"
42   >
43     <a
44       className="small text-muted js-more-options"
45       href="#"
46       onClick={[Function]}
47     >
48       login.more_options
49     </a>
50   </div>
51 </div>
52 `;
53
54 exports[`expands more options 2`] = `
55 <div
56   id="login_form"
57 >
58   <h1
59     className="maintenance-title text-center"
60   >
61     login.login_to_sonarqube
62   </h1>
63   <section
64     className="oauth-providers"
65   >
66     <ul>
67       <li>
68         <a
69           href="/sessions/init/foo"
70           style={
71             Object {
72               "backgroundColor": "#000",
73             }
74           }
75           title="Log in with foo"
76         >
77           <img
78             alt="foo"
79             height="20"
80             src="/some/path"
81             width="20"
82           />
83           <span>
84             Log in with 
85             foo
86           </span>
87         </a>
88       </li>
89     </ul>
90   </section>
91   <form
92     onSubmit={[Function]}
93   >
94     <Connect(GlobalMessages) />
95     <div
96       className="big-spacer-bottom"
97     >
98       <label
99         className="login-label"
100         htmlFor="login"
101       >
102         login
103       </label>
104       <input
105         autoFocus={true}
106         className="login-input"
107         id="login"
108         maxLength="255"
109         name="login"
110         onChange={[Function]}
111         placeholder="login"
112         required={true}
113         type="text"
114         value=""
115       />
116     </div>
117     <div
118       className="big-spacer-bottom"
119     >
120       <label
121         className="login-label"
122         htmlFor="password"
123       >
124         password
125       </label>
126       <input
127         className="login-input"
128         id="password"
129         name="password"
130         onChange={[Function]}
131         placeholder="password"
132         required={true}
133         type="password"
134         value=""
135       />
136     </div>
137     <div>
138       <div
139         className="text-right overflow-hidden"
140       >
141         <button
142           name="commit"
143           type="submit"
144         >
145           sessions.log_in
146         </button>
147         <a
148           className="spacer-left"
149           href="/"
150         >
151           cancel
152         </a>
153       </div>
154     </div>
155   </form>
156 </div>
157 `;
158
159 exports[`logs in with identity provider 1`] = `
160 <div
161   id="login_form"
162 >
163   <h1
164     className="maintenance-title text-center"
165   >
166     login.login_to_sonarqube
167   </h1>
168   <section
169     className="oauth-providers"
170   >
171     <ul>
172       <li>
173         <a
174           href="/sessions/init/foo"
175           style={
176             Object {
177               "backgroundColor": "#000",
178             }
179           }
180           title="Log in with foo"
181         >
182           <img
183             alt="foo"
184             height="20"
185             src="/some/path"
186             width="20"
187           />
188           <span>
189             Log in with 
190             foo
191           </span>
192         </a>
193       </li>
194     </ul>
195   </section>
196   <div
197     className="text-center"
198   >
199     <a
200       className="small text-muted js-more-options"
201       href="#"
202       onClick={[Function]}
203     >
204       login.more_options
205     </a>
206   </div>
207 </div>
208 `;
209
210 exports[`logs in with simple credentials 1`] = `
211 <div
212   id="login_form"
213 >
214   <h1
215     className="maintenance-title text-center"
216   >
217     login.login_to_sonarqube
218   </h1>
219   <form
220     onSubmit={[Function]}
221   >
222     <Connect(GlobalMessages) />
223     <div
224       className="big-spacer-bottom"
225     >
226       <label
227         className="login-label"
228         htmlFor="login"
229       >
230         login
231       </label>
232       <input
233         autoFocus={true}
234         className="login-input"
235         id="login"
236         maxLength="255"
237         name="login"
238         onChange={[Function]}
239         placeholder="login"
240         required={true}
241         type="text"
242         value=""
243       />
244     </div>
245     <div
246       className="big-spacer-bottom"
247     >
248       <label
249         className="login-label"
250         htmlFor="password"
251       >
252         password
253       </label>
254       <input
255         className="login-input"
256         id="password"
257         name="password"
258         onChange={[Function]}
259         placeholder="password"
260         required={true}
261         type="password"
262         value=""
263       />
264     </div>
265     <div>
266       <div
267         className="text-right overflow-hidden"
268       >
269         <button
270           name="commit"
271           type="submit"
272         >
273           sessions.log_in
274         </button>
275         <a
276           className="spacer-left"
277           href="/"
278         >
279           cancel
280         </a>
281       </div>
282     </div>
283   </form>
284 </div>
285 `;