]> source.dussan.org Git - sonarqube.git/blob
17b5fd12b0f51d2de46169f4f5822f8a8c711481
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`it 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         Object {
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     onClick={[MockFunction]}
29   >
30     continue
31   </Button>
32 </div>
33 `;
34
35 exports[`it should render correctly for azure: wrapper 1`] = `
36 <Step
37   finished={false}
38   onOpen={[MockFunction]}
39   open={false}
40   renderForm={[Function]}
41   stepNumber={2}
42   stepTitle="onboarding.tutorial.with.jenkins.webhook.azure.title"
43 />
44 `;
45
46 exports[`it should render correctly for bitbucket: content 1`] = `
47 <div
48   className="boxed-group-inner"
49 >
50   <p
51     className="big-spacer-bottom"
52   >
53     <FormattedMessage
54       defaultMessage="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
55       id="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
56       values={
57         Object {
58           "link": <ButtonLink
59             onClick={[MockFunction]}
60           >
61             onboarding.tutorial.with.jenkins.webhook.intro.link
62           </ButtonLink>,
63         }
64       }
65     />
66   </p>
67   <ol
68     className="list-styled"
69   >
70     <WebhookStepBitbucket
71       almBinding={
72         Object {
73           "key": "key",
74           "personalAccessToken": "asdf1234",
75           "url": "http://bbs.enterprise.com",
76         }
77       }
78       branchesEnabled={true}
79       projectBinding={
80         Object {
81           "alm": "bitbucket",
82           "key": "foo",
83           "monorepo": true,
84           "repository": "PROJECT_KEY",
85           "slug": "repo-slug",
86         }
87       }
88     />
89   </ol>
90   <Button
91     onClick={[MockFunction]}
92   >
93     continue
94   </Button>
95 </div>
96 `;
97
98 exports[`it should render correctly for bitbucket: wrapper 1`] = `
99 <Step
100   finished={false}
101   onOpen={[MockFunction]}
102   open={false}
103   renderForm={[Function]}
104   stepNumber={2}
105   stepTitle="onboarding.tutorial.with.jenkins.webhook.bitbucket.title"
106 />
107 `;
108
109 exports[`it should render correctly for github: content 1`] = `
110 <div
111   className="boxed-group-inner"
112 >
113   <p
114     className="big-spacer-bottom"
115   >
116     <FormattedMessage
117       defaultMessage="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
118       id="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
119       values={
120         Object {
121           "link": <ButtonLink
122             onClick={[MockFunction]}
123           >
124             onboarding.tutorial.with.jenkins.webhook.intro.link
125           </ButtonLink>,
126         }
127       }
128     />
129   </p>
130   <ol
131     className="list-styled"
132   >
133     <WebhookStepGithub
134       almBinding={
135         Object {
136           "appId": "123456",
137           "clientId": "client1",
138           "clientSecret": "**clientsecret**",
139           "key": "key",
140           "privateKey": "asdf1234",
141           "url": "http://github.enterprise.com",
142         }
143       }
144       branchesEnabled={true}
145       projectBinding={
146         Object {
147           "alm": "github",
148           "key": "foo",
149           "monorepo": true,
150           "repository": "PROJECT_KEY",
151         }
152       }
153     />
154   </ol>
155   <Button
156     onClick={[MockFunction]}
157   >
158     continue
159   </Button>
160 </div>
161 `;
162
163 exports[`it should render correctly for github: wrapper 1`] = `
164 <Step
165   finished={false}
166   onOpen={[MockFunction]}
167   open={false}
168   renderForm={[Function]}
169   stepNumber={2}
170   stepTitle="onboarding.tutorial.with.jenkins.webhook.github.title"
171 />
172 `;
173
174 exports[`it should render correctly for gitlab: content 1`] = `
175 <div
176   className="boxed-group-inner"
177 >
178   <p
179     className="big-spacer-bottom"
180   >
181     <FormattedMessage
182       defaultMessage="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
183       id="onboarding.tutorial.with.jenkins.webhook.intro.sentence"
184       values={
185         Object {
186           "link": <ButtonLink
187             onClick={[MockFunction]}
188           >
189             onboarding.tutorial.with.jenkins.webhook.intro.link
190           </ButtonLink>,
191         }
192       }
193     />
194   </p>
195   <ol
196     className="list-styled"
197   >
198     <WebhookStepGitLab
199       branchesEnabled={true}
200     />
201   </ol>
202   <Button
203     onClick={[MockFunction]}
204   >
205     continue
206   </Button>
207 </div>
208 `;
209
210 exports[`it should render correctly for gitlab: wrapper 1`] = `
211 <Step
212   finished={false}
213   onOpen={[MockFunction]}
214   open={false}
215   renderForm={[Function]}
216   stepNumber={2}
217   stepTitle="onboarding.tutorial.with.jenkins.webhook.gitlab.title"
218 />
219 `;