]> source.dussan.org Git - sonarqube.git/blob
b0e0b0f9f3d52eef83d4ae41901cd5e21d71723b
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: default 1`] = `
4 <Fragment>
5   <header
6     className="huge-spacer-top big-spacer-bottom padded"
7   >
8     <h1
9       className="text-center huge big-spacer-bottom"
10     >
11       my_account.create_new.TRK
12     </h1>
13     <p
14       className="text-center big"
15     >
16       onboarding.create_project.select_method
17     </p>
18   </header>
19   <div
20     className="create-project-modes huge-spacer-top display-flex-justify-center"
21   >
22     <button
23       className="button button-huge display-flex-column create-project-mode-type-manual"
24       onClick={[Function]}
25       type="button"
26     >
27       <img
28         alt=""
29         height={80}
30         src="/images/sonarcloud/analysis/manual.svg"
31       />
32       <div
33         className="medium big-spacer-top"
34       >
35         onboarding.create_project.select_method.manual
36       </div>
37     </button>
38     <button
39       className="button button-huge big-spacer-left display-flex-column create-project-mode-type-bbs"
40       disabled={false}
41       onClick={[Function]}
42       type="button"
43     >
44       <img
45         alt=""
46         height={80}
47         src="/images/alm/bitbucket.svg"
48       />
49       <div
50         className="medium big-spacer-top"
51       >
52         onboarding.create_project.select_method.bitbucket
53       </div>
54     </button>
55     <button
56       className="button button-huge big-spacer-left display-flex-column create-project-mode-type-bbs disabled"
57       disabled={true}
58       onClick={[Function]}
59       type="button"
60     >
61       <img
62         alt=""
63         height={80}
64         src="/images/alm/github.svg"
65       />
66       <div
67         className="medium big-spacer-top"
68       >
69         onboarding.create_project.select_method.github
70       </div>
71       <div
72         className="text-muted small spacer-top"
73         style={
74           Object {
75             "lineHeight": 1.5,
76           }
77         }
78       >
79         onboarding.create_project.alm_not_configured
80         <HelpTooltip
81           className="little-spacer-left"
82           overlay="onboarding.create_project.zero_alm_instances.github"
83         />
84       </div>
85     </button>
86   </div>
87 </Fragment>
88 `;
89
90 exports[`should render correctly: invalid configs 1`] = `
91 <Fragment>
92   <header
93     className="huge-spacer-top big-spacer-bottom padded"
94   >
95     <h1
96       className="text-center huge big-spacer-bottom"
97     >
98       my_account.create_new.TRK
99     </h1>
100     <p
101       className="text-center big"
102     >
103       onboarding.create_project.select_method
104     </p>
105   </header>
106   <div
107     className="create-project-modes huge-spacer-top display-flex-justify-center"
108   >
109     <button
110       className="button button-huge display-flex-column create-project-mode-type-manual"
111       onClick={[Function]}
112       type="button"
113     >
114       <img
115         alt=""
116         height={80}
117         src="/images/sonarcloud/analysis/manual.svg"
118       />
119       <div
120         className="medium big-spacer-top"
121       >
122         onboarding.create_project.select_method.manual
123       </div>
124     </button>
125     <button
126       className="button button-huge big-spacer-left display-flex-column create-project-mode-type-bbs disabled"
127       disabled={true}
128       onClick={[Function]}
129       type="button"
130     >
131       <img
132         alt=""
133         height={80}
134         src="/images/alm/bitbucket.svg"
135       />
136       <div
137         className="medium big-spacer-top"
138       >
139         onboarding.create_project.select_method.bitbucket
140       </div>
141       <div
142         className="text-muted small spacer-top"
143         style={
144           Object {
145             "lineHeight": 1.5,
146           }
147         }
148       >
149         onboarding.create_project.alm_not_configured
150         <HelpTooltip
151           className="little-spacer-left"
152           overlay="onboarding.create_project.zero_alm_instances.bitbucket"
153         />
154       </div>
155     </button>
156     <button
157       className="button button-huge big-spacer-left display-flex-column create-project-mode-type-bbs disabled"
158       disabled={true}
159       onClick={[Function]}
160       type="button"
161     >
162       <img
163         alt=""
164         height={80}
165         src="/images/alm/github.svg"
166       />
167       <div
168         className="medium big-spacer-top"
169       >
170         onboarding.create_project.select_method.github
171       </div>
172       <div
173         className="text-muted small spacer-top"
174         style={
175           Object {
176             "lineHeight": 1.5,
177           }
178         }
179       >
180         onboarding.create_project.alm_not_configured
181         <HelpTooltip
182           className="little-spacer-left"
183           overlay="onboarding.create_project.too_many_alm_instances.github 
184                   onboarding.create_project.alm_instances_count_X.2"
185         />
186       </div>
187     </button>
188   </div>
189 </Fragment>
190 `;
191
192 exports[`should render correctly: loading instances 1`] = `
193 <Fragment>
194   <header
195     className="huge-spacer-top big-spacer-bottom padded"
196   >
197     <h1
198       className="text-center huge big-spacer-bottom"
199     >
200       my_account.create_new.TRK
201     </h1>
202     <p
203       className="text-center big"
204     >
205       onboarding.create_project.select_method
206     </p>
207   </header>
208   <div
209     className="create-project-modes huge-spacer-top display-flex-justify-center"
210   >
211     <button
212       className="button button-huge display-flex-column create-project-mode-type-manual"
213       onClick={[Function]}
214       type="button"
215     >
216       <img
217         alt=""
218         height={80}
219         src="/images/sonarcloud/analysis/manual.svg"
220       />
221       <div
222         className="medium big-spacer-top"
223       >
224         onboarding.create_project.select_method.manual
225       </div>
226     </button>
227     <button
228       className="button button-huge big-spacer-left display-flex-column create-project-mode-type-bbs disabled"
229       disabled={true}
230       onClick={[Function]}
231       type="button"
232     >
233       <img
234         alt=""
235         height={80}
236         src="/images/alm/bitbucket.svg"
237       />
238       <div
239         className="medium big-spacer-top"
240       >
241         onboarding.create_project.select_method.bitbucket
242       </div>
243       <span>
244         onboarding.create_project.check_alm_supported
245         <i
246           className="little-spacer-left spinner"
247         />
248       </span>
249     </button>
250     <button
251       className="button button-huge big-spacer-left display-flex-column create-project-mode-type-bbs disabled"
252       disabled={true}
253       onClick={[Function]}
254       type="button"
255     >
256       <img
257         alt=""
258         height={80}
259         src="/images/alm/github.svg"
260       />
261       <div
262         className="medium big-spacer-top"
263       >
264         onboarding.create_project.select_method.github
265       </div>
266       <span>
267         onboarding.create_project.check_alm_supported
268         <i
269           className="little-spacer-left spinner"
270         />
271       </span>
272     </button>
273   </div>
274 </Fragment>
275 `;