]> source.dussan.org Git - sonarqube.git/blob
e9d79c11a0e12ad3a3cc9d06399b60c05f307b5d
[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-space-around"
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         width={80}
49       />
50       <div
51         className="medium big-spacer-top"
52       >
53         onboarding.create_project.select_method.from_bbs
54       </div>
55     </button>
56   </div>
57 </Fragment>
58 `;
59
60 exports[`should render correctly: loading bbs instances 1`] = `
61 <Fragment>
62   <header
63     className="huge-spacer-top big-spacer-bottom padded"
64   >
65     <h1
66       className="text-center huge big-spacer-bottom"
67     >
68       my_account.create_new.TRK
69     </h1>
70     <p
71       className="text-center big"
72     >
73       onboarding.create_project.select_method
74     </p>
75   </header>
76   <div
77     className="create-project-modes huge-spacer-top display-flex-space-around"
78   >
79     <button
80       className="button button-huge display-flex-column create-project-mode-type-manual"
81       onClick={[Function]}
82       type="button"
83     >
84       <img
85         alt=""
86         height={80}
87         src="/images/sonarcloud/analysis/manual.svg"
88       />
89       <div
90         className="medium big-spacer-top"
91       >
92         onboarding.create_project.select_method.manual
93       </div>
94     </button>
95     <button
96       className="button button-huge big-spacer-left display-flex-column create-project-mode-type-bbs disabled"
97       disabled={true}
98       onClick={[Function]}
99       type="button"
100     >
101       <img
102         alt=""
103         height={80}
104         src="/images/alm/bitbucket.svg"
105         width={80}
106       />
107       <div
108         className="medium big-spacer-top"
109       >
110         onboarding.create_project.select_method.from_bbs
111       </div>
112       <span>
113         onboarding.create_project.check_bbs_supported
114         <i
115           className="little-spacer-left spinner"
116         />
117       </span>
118     </button>
119   </div>
120 </Fragment>
121 `;
122
123 exports[`should render correctly: no bbs instances 1`] = `
124 <Fragment>
125   <header
126     className="huge-spacer-top big-spacer-bottom padded"
127   >
128     <h1
129       className="text-center huge big-spacer-bottom"
130     >
131       my_account.create_new.TRK
132     </h1>
133     <p
134       className="text-center big"
135     >
136       onboarding.create_project.select_method
137     </p>
138   </header>
139   <div
140     className="create-project-modes huge-spacer-top display-flex-space-around"
141   >
142     <button
143       className="button button-huge display-flex-column create-project-mode-type-manual"
144       onClick={[Function]}
145       type="button"
146     >
147       <img
148         alt=""
149         height={80}
150         src="/images/sonarcloud/analysis/manual.svg"
151       />
152       <div
153         className="medium big-spacer-top"
154       >
155         onboarding.create_project.select_method.manual
156       </div>
157     </button>
158     <button
159       className="button button-huge big-spacer-left display-flex-column create-project-mode-type-bbs disabled"
160       disabled={true}
161       onClick={[Function]}
162       type="button"
163     >
164       <img
165         alt=""
166         height={80}
167         src="/images/alm/bitbucket.svg"
168         width={80}
169       />
170       <div
171         className="medium big-spacer-top"
172       >
173         onboarding.create_project.select_method.from_bbs
174       </div>
175       <div
176         className="text-muted small spacer-top"
177         style={
178           Object {
179             "lineHeight": 1.5,
180           }
181         }
182       >
183         onboarding.create_project.bbs_not_configured
184         <HelpTooltip
185           className="little-spacer-left"
186           overlay="onboarding.create_project.zero_bbs_instances"
187         />
188       </div>
189     </button>
190   </div>
191 </Fragment>
192 `;
193
194 exports[`should render correctly: too many bbs instances 1`] = `
195 <Fragment>
196   <header
197     className="huge-spacer-top big-spacer-bottom padded"
198   >
199     <h1
200       className="text-center huge big-spacer-bottom"
201     >
202       my_account.create_new.TRK
203     </h1>
204     <p
205       className="text-center big"
206     >
207       onboarding.create_project.select_method
208     </p>
209   </header>
210   <div
211     className="create-project-modes huge-spacer-top display-flex-space-around"
212   >
213     <button
214       className="button button-huge display-flex-column create-project-mode-type-manual"
215       onClick={[Function]}
216       type="button"
217     >
218       <img
219         alt=""
220         height={80}
221         src="/images/sonarcloud/analysis/manual.svg"
222       />
223       <div
224         className="medium big-spacer-top"
225       >
226         onboarding.create_project.select_method.manual
227       </div>
228     </button>
229     <button
230       className="button button-huge big-spacer-left display-flex-column create-project-mode-type-bbs disabled"
231       disabled={true}
232       onClick={[Function]}
233       type="button"
234     >
235       <img
236         alt=""
237         height={80}
238         src="/images/alm/bitbucket.svg"
239         width={80}
240       />
241       <div
242         className="medium big-spacer-top"
243       >
244         onboarding.create_project.select_method.from_bbs
245       </div>
246       <div
247         className="text-muted small spacer-top"
248         style={
249           Object {
250             "lineHeight": 1.5,
251           }
252         }
253       >
254         onboarding.create_project.bbs_not_configured
255         <HelpTooltip
256           className="little-spacer-left"
257           overlay="onboarding.create_project.too_many_bbs_instances_X.2"
258         />
259       </div>
260     </button>
261   </div>
262 </Fragment>
263 `;