]> source.dussan.org Git - sonarqube.git/blob
cd3b0f00ea8e063a992600e4c970f2ac9afd3ac4
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`logs in with identity provider 1`] = `
4 <div
5   className="sonarcloud-login-page boxed-group boxed-group-inner"
6   id="login_form"
7 >
8   <div
9     className="text-center"
10   >
11     <img
12       alt="SonarCloud logo"
13       height={36}
14       src="/images/sonarcloud-square-logo.svg"
15       width={36}
16     />
17     <h1
18       className="sonarcloud-login-title"
19     >
20       login.login_or_signup_to_sonarcloud
21     </h1>
22   </div>
23   <OAuthProviders
24     className="sonarcloud-oauth-providers"
25     formatLabel={[Function]}
26     identityProviders={
27       Array [
28         Object {
29           "backgroundColor": "#000",
30           "iconPath": "/some/path",
31           "key": "foo",
32           "name": "foo",
33         },
34       ]
35     }
36     returnTo=""
37   />
38 </div>
39 `;
40
41 exports[`logs in with simple form 1`] = `
42 <div
43   className="sonarcloud-login-page boxed-group boxed-group-inner sonarcloud-login-page-large"
44   id="login_form"
45 >
46   <div
47     className="text-center"
48   >
49     <img
50       alt="SonarCloud logo"
51       height={36}
52       src="/images/sonarcloud-square-logo.svg"
53       width={36}
54     />
55     <h1
56       className="sonarcloud-login-title"
57     >
58       login.login_or_signup_to_sonarcloud
59     </h1>
60   </div>
61   <LoginForm
62     onSubmit={[MockFunction]}
63     returnTo=""
64   />
65 </div>
66 `;
67
68 exports[`logs in with simple form 2`] = `
69 <div
70   className="sonarcloud-login-page boxed-group boxed-group-inner sonarcloud-login-page-large"
71   id="login_form"
72 >
73   <div
74     className="text-center"
75   >
76     <img
77       alt="SonarCloud logo"
78       height={36}
79       src="/images/sonarcloud-square-logo.svg"
80       width={36}
81     />
82     <h1
83       className="sonarcloud-login-title"
84     >
85       login.login_or_signup_to_sonarcloud
86     </h1>
87   </div>
88   <LoginForm
89     onSubmit={[MockFunction]}
90     returnTo=""
91   />
92 </div>
93 `;