]> source.dussan.org Git - sonarqube.git/blob
b342803bd1449504a8743ab2a184cb6ca3c0b8e1
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly for azure: content 1`] = `
4 <div
5   className="boxed-group-inner"
6 >
7   <p
8     className="big-spacer-bottom"
9   >
10     <FormattedMessage
11       defaultMessage="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
12       id="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
13       values={
14         {
15           "link": <ButtonLink
16             onClick={[MockFunction]}
17           >
18             onboarding.tutorial.with.jenkins.webhook.intro.link
19           </ButtonLink>,
20         }
21       }
22     />
23   </p>
24   <ol
25     className="list-styled"
26   />
27   <Button
28     className="big-spacer-top"
29     onClick={[MockFunction]}
30   >
31     continue
32     <ChevronRightIcon
33       size={13}
34     />
35   </Button>
36 </div>
37 `;
38
39 exports[`should render correctly for azure: wrapper 1`] = `
40 <Step
41   finished={false}
42   onOpen={[MockFunction]}
43   open={false}
44   renderForm={[Function]}
45   stepNumber={2}
46   stepTitle="onboarding.tutorial.with.jenkins.webhook.azure.title"
47 />
48 `;
49
50 exports[`should render correctly for bitbucket: content 1`] = `
51 <div
52   className="boxed-group-inner"
53 >
54   <p
55     className="big-spacer-bottom"
56   >
57     <FormattedMessage
58       defaultMessage="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
59       id="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
60       values={
61         {
62           "link": <ButtonLink
63             onClick={[MockFunction]}
64           >
65             onboarding.tutorial.with.jenkins.webhook.intro.link
66           </ButtonLink>,
67         }
68       }
69     />
70   </p>
71   <ol
72     className="list-styled"
73   >
74     <WebhookStepBitbucket
75       alm="bitbucket"
76       almBinding={
77         {
78           "alm": "github",
79           "key": "key",
80         }
81       }
82       branchesEnabled={true}
83       projectBinding={
84         {
85           "alm": "bitbucket",
86           "key": "foo",
87           "monorepo": true,
88           "repository": "PROJECT_KEY",
89           "slug": "repo-slug",
90         }
91       }
92     />
93   </ol>
94   <Button
95     className="big-spacer-top"
96     onClick={[MockFunction]}
97   >
98     continue
99     <ChevronRightIcon
100       size={13}
101     />
102   </Button>
103 </div>
104 `;
105
106 exports[`should render correctly for bitbucket: wrapper 1`] = `
107 <Step
108   finished={false}
109   onOpen={[MockFunction]}
110   open={false}
111   renderForm={[Function]}
112   stepNumber={2}
113   stepTitle="onboarding.tutorial.with.jenkins.webhook.bitbucket.title"
114 />
115 `;
116
117 exports[`should render correctly for bitbucketcloud: content 1`] = `
118 <div
119   className="boxed-group-inner"
120 >
121   <p
122     className="big-spacer-bottom"
123   >
124     <FormattedMessage
125       defaultMessage="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
126       id="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
127       values={
128         {
129           "link": <ButtonLink
130             onClick={[MockFunction]}
131           >
132             onboarding.tutorial.with.jenkins.webhook.intro.link
133           </ButtonLink>,
134         }
135       }
136     />
137   </p>
138   <ol
139     className="list-styled"
140   >
141     <WebhookStepBitbucket
142       alm="bitbucketcloud"
143       almBinding={
144         {
145           "alm": "github",
146           "key": "key",
147         }
148       }
149       branchesEnabled={true}
150       projectBinding={
151         {
152           "alm": "bitbucketcloud",
153           "key": "foo",
154           "monorepo": true,
155           "repository": "repo-slug",
156         }
157       }
158     />
159   </ol>
160   <Button
161     className="big-spacer-top"
162     onClick={[MockFunction]}
163   >
164     continue
165     <ChevronRightIcon
166       size={13}
167     />
168   </Button>
169 </div>
170 `;
171
172 exports[`should render correctly for bitbucketcloud: wrapper 1`] = `
173 <Step
174   finished={false}
175   onOpen={[MockFunction]}
176   open={false}
177   renderForm={[Function]}
178   stepNumber={2}
179   stepTitle="onboarding.tutorial.with.jenkins.webhook.bitbucketcloud.title"
180 />
181 `;
182
183 exports[`should render correctly for github: content 1`] = `
184 <div
185   className="boxed-group-inner"
186 >
187   <p
188     className="big-spacer-bottom"
189   >
190     <FormattedMessage
191       defaultMessage="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
192       id="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
193       values={
194         {
195           "link": <ButtonLink
196             onClick={[MockFunction]}
197           >
198             onboarding.tutorial.with.jenkins.webhook.intro.link
199           </ButtonLink>,
200         }
201       }
202     />
203   </p>
204   <ol
205     className="list-styled"
206   >
207     <WebhookStepGithub
208       almBinding={
209         {
210           "alm": "github",
211           "key": "key",
212         }
213       }
214       branchesEnabled={true}
215       projectBinding={
216         {
217           "alm": "github",
218           "key": "foo",
219           "monorepo": true,
220           "repository": "PROJECT_KEY",
221         }
222       }
223     />
224   </ol>
225   <Button
226     className="big-spacer-top"
227     onClick={[MockFunction]}
228   >
229     continue
230     <ChevronRightIcon
231       size={13}
232     />
233   </Button>
234 </div>
235 `;
236
237 exports[`should render correctly for github: wrapper 1`] = `
238 <Step
239   finished={false}
240   onOpen={[MockFunction]}
241   open={false}
242   renderForm={[Function]}
243   stepNumber={2}
244   stepTitle="onboarding.tutorial.with.jenkins.webhook.github.title"
245 />
246 `;
247
248 exports[`should render correctly for gitlab: content 1`] = `
249 <div
250   className="boxed-group-inner"
251 >
252   <p
253     className="big-spacer-bottom"
254   >
255     <FormattedMessage
256       defaultMessage="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
257       id="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
258       values={
259         {
260           "link": <ButtonLink
261             onClick={[MockFunction]}
262           >
263             onboarding.tutorial.with.jenkins.webhook.intro.link
264           </ButtonLink>,
265         }
266       }
267     />
268   </p>
269   <ol
270     className="list-styled"
271   >
272     <WebhookStepGitLab
273       branchesEnabled={true}
274     />
275   </ol>
276   <Button
277     className="big-spacer-top"
278     onClick={[MockFunction]}
279   >
280     continue
281     <ChevronRightIcon
282       size={13}
283     />
284   </Button>
285 </div>
286 `;
287
288 exports[`should render correctly for gitlab: wrapper 1`] = `
289 <Step
290   finished={false}
291   onOpen={[MockFunction]}
292   open={false}
293   renderForm={[Function]}
294   stepNumber={2}
295   stepTitle="onboarding.tutorial.with.jenkins.webhook.gitlab.title"
296 />
297 `;