]> source.dussan.org Git - sonarqube.git/blob
2fed2d0975bb347ba8079c31f69b892f23962eae
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly for build tool gradle 1`] = `
4 <div
5   className="boxed-group-inner"
6 >
7   <div
8     className="flex-columns"
9   >
10     <div
11       className="flex-column-full"
12     >
13       <React.Fragment>
14         <div
15           className="big-spacer-bottom"
16         >
17           <FormattedMessage
18             defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.description"
19             id="onboarding.tutorial.with.gitlab_ci.yml.description"
20             values={
21               Object {
22                 "filename": <React.Fragment>
23                   <code
24                     className="rule"
25                   >
26                     onboarding.tutorial.with.gitlab_ci.yml.filename
27                   </code>
28                   <ClipboardIconButton
29                     className="little-spacer-left"
30                     copyValue="onboarding.tutorial.with.gitlab_ci.yml.filename"
31                   />
32                 </React.Fragment>,
33               }
34             }
35           />
36         </div>
37         <div
38           className="big-spacer-bottom"
39         >
40           <PipeCommand
41             branchesEnabled={true}
42             buildTool="gradle"
43           />
44         </div>
45         <p
46           className="little-spacer-bottom"
47         >
48           onboarding.tutorial.with.gitlab_ci.yml.baseconfig
49         </p>
50         <p
51           className="huge-spacer-bottom"
52         >
53           onboarding.tutorial.with.gitlab_ci.yml.existing
54         </p>
55         <hr
56           className="no-horizontal-margins"
57         />
58         <div>
59           <p
60             className="big-spacer-bottom"
61           >
62             <strong>
63               onboarding.tutorial.with.gitlab_ci.yml.done
64                
65             </strong>
66              
67             <FormattedMessage
68               defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.done.description"
69               id="onboarding.tutorial.with.gitlab_ci.yml.done.description"
70               values={
71                 Object {
72                   "link": "onboarding.tutorial.with.gitlab_ci.yml.done.description.link",
73                 }
74               }
75             />
76           </p>
77           <p
78             className="big-spacer-bottom"
79           >
80             <strong>
81               onboarding.tutorial.with.gitlab_ci.yml.done.then-what
82             </strong>
83              
84             onboarding.tutorial.with.gitlab_ci.yml.done.then-what.description
85           </p>
86           <p
87             className="big-spacer-bottom"
88           >
89             <FormattedMessage
90               defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.done.links.title"
91               id="onboarding.tutorial.with.gitlab_ci.yml.done.links.title"
92               values={
93                 Object {
94                   "links": <Link
95                     onlyActiveOnIndex={false}
96                     rel="noopener noreferrer"
97                     style={Object {}}
98                     target="_blank"
99                     to="/documentation/user-guide/quality-gates/"
100                   >
101                     onboarding.tutorial.with.gitlab_ci.yml.done.links.QG
102                   </Link>,
103                 }
104               }
105             />
106           </p>
107         </div>
108       </React.Fragment>
109     </div>
110   </div>
111 </div>
112 `;
113
114 exports[`should render correctly for build tool maven 1`] = `
115 <div
116   className="boxed-group-inner"
117 >
118   <div
119     className="flex-columns"
120   >
121     <div
122       className="flex-column-full"
123     >
124       <React.Fragment>
125         <div
126           className="big-spacer-bottom"
127         >
128           <FormattedMessage
129             defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.description"
130             id="onboarding.tutorial.with.gitlab_ci.yml.description"
131             values={
132               Object {
133                 "filename": <React.Fragment>
134                   <code
135                     className="rule"
136                   >
137                     onboarding.tutorial.with.gitlab_ci.yml.filename
138                   </code>
139                   <ClipboardIconButton
140                     className="little-spacer-left"
141                     copyValue="onboarding.tutorial.with.gitlab_ci.yml.filename"
142                   />
143                 </React.Fragment>,
144               }
145             }
146           />
147         </div>
148         <div
149           className="big-spacer-bottom"
150         >
151           <PipeCommand
152             branchesEnabled={true}
153             buildTool="maven"
154           />
155         </div>
156         <p
157           className="little-spacer-bottom"
158         >
159           onboarding.tutorial.with.gitlab_ci.yml.baseconfig
160         </p>
161         <p
162           className="huge-spacer-bottom"
163         >
164           onboarding.tutorial.with.gitlab_ci.yml.existing
165         </p>
166         <hr
167           className="no-horizontal-margins"
168         />
169         <div>
170           <p
171             className="big-spacer-bottom"
172           >
173             <strong>
174               onboarding.tutorial.with.gitlab_ci.yml.done
175                
176             </strong>
177              
178             <FormattedMessage
179               defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.done.description"
180               id="onboarding.tutorial.with.gitlab_ci.yml.done.description"
181               values={
182                 Object {
183                   "link": "onboarding.tutorial.with.gitlab_ci.yml.done.description.link",
184                 }
185               }
186             />
187           </p>
188           <p
189             className="big-spacer-bottom"
190           >
191             <strong>
192               onboarding.tutorial.with.gitlab_ci.yml.done.then-what
193             </strong>
194              
195             onboarding.tutorial.with.gitlab_ci.yml.done.then-what.description
196           </p>
197           <p
198             className="big-spacer-bottom"
199           >
200             <FormattedMessage
201               defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.done.links.title"
202               id="onboarding.tutorial.with.gitlab_ci.yml.done.links.title"
203               values={
204                 Object {
205                   "links": <Link
206                     onlyActiveOnIndex={false}
207                     rel="noopener noreferrer"
208                     style={Object {}}
209                     target="_blank"
210                     to="/documentation/user-guide/quality-gates/"
211                   >
212                     onboarding.tutorial.with.gitlab_ci.yml.done.links.QG
213                   </Link>,
214                 }
215               }
216             />
217           </p>
218         </div>
219       </React.Fragment>
220     </div>
221   </div>
222 </div>
223 `;
224
225 exports[`should render correctly for build tool other 1`] = `
226 <div
227   className="boxed-group-inner"
228 >
229   <div
230     className="flex-columns"
231   >
232     <div
233       className="flex-column-full"
234     >
235       <React.Fragment>
236         <div
237           className="big-spacer-bottom"
238         >
239           <FormattedMessage
240             defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.description"
241             id="onboarding.tutorial.with.gitlab_ci.yml.description"
242             values={
243               Object {
244                 "filename": <React.Fragment>
245                   <code
246                     className="rule"
247                   >
248                     onboarding.tutorial.with.gitlab_ci.yml.filename
249                   </code>
250                   <ClipboardIconButton
251                     className="little-spacer-left"
252                     copyValue="onboarding.tutorial.with.gitlab_ci.yml.filename"
253                   />
254                 </React.Fragment>,
255               }
256             }
257           />
258         </div>
259         <div
260           className="big-spacer-bottom"
261         >
262           <PipeCommand
263             branchesEnabled={true}
264             buildTool="other"
265           />
266         </div>
267         <p
268           className="little-spacer-bottom"
269         >
270           onboarding.tutorial.with.gitlab_ci.yml.baseconfig
271         </p>
272         <p
273           className="huge-spacer-bottom"
274         >
275           onboarding.tutorial.with.gitlab_ci.yml.existing
276         </p>
277         <hr
278           className="no-horizontal-margins"
279         />
280         <div>
281           <p
282             className="big-spacer-bottom"
283           >
284             <strong>
285               onboarding.tutorial.with.gitlab_ci.yml.done
286                
287             </strong>
288              
289             <FormattedMessage
290               defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.done.description"
291               id="onboarding.tutorial.with.gitlab_ci.yml.done.description"
292               values={
293                 Object {
294                   "link": "onboarding.tutorial.with.gitlab_ci.yml.done.description.link",
295                 }
296               }
297             />
298           </p>
299           <p
300             className="big-spacer-bottom"
301           >
302             <strong>
303               onboarding.tutorial.with.gitlab_ci.yml.done.then-what
304             </strong>
305              
306             onboarding.tutorial.with.gitlab_ci.yml.done.then-what.description
307           </p>
308           <p
309             className="big-spacer-bottom"
310           >
311             <FormattedMessage
312               defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.done.links.title"
313               id="onboarding.tutorial.with.gitlab_ci.yml.done.links.title"
314               values={
315                 Object {
316                   "links": <Link
317                     onlyActiveOnIndex={false}
318                     rel="noopener noreferrer"
319                     style={Object {}}
320                     target="_blank"
321                     to="/documentation/user-guide/quality-gates/"
322                   >
323                     onboarding.tutorial.with.gitlab_ci.yml.done.links.QG
324                   </Link>,
325                 }
326               }
327             />
328           </p>
329         </div>
330       </React.Fragment>
331     </div>
332   </div>
333 </div>
334 `;
335
336 exports[`should render correctly: Step wrapper 1`] = `
337 <Step
338   finished={false}
339   open={true}
340   renderForm={[Function]}
341   stepNumber={3}
342   stepTitle="onboarding.tutorial.with.gitlab_ci.yml.title"
343 />
344 `;
345
346 exports[`should render correctly: initial content 1`] = `
347 <div
348   className="boxed-group-inner"
349 >
350   <div
351     className="flex-columns"
352   >
353     <div
354       className="flex-column-full"
355     />
356   </div>
357 </div>
358 `;