1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly for multi-ALM binding: editing a definition 1`] = `
5 aria-labelledby="tab-azure"
11 className="big-padded"
17 className="spacer-bottom text-right"
19 <withAppStateContext(CreationTooltip)
21 preventCreation={false}
24 data-test="settings__alm-create"
26 onClick={[MockFunction]}
28 settings.almintegration.create
30 </withAppStateContext(CreationTooltip)>
32 <AlmBindingDefinitionBox
34 branchesEnabled={true}
38 "personalAccessToken": "asdf1234",
42 onCheck={[MockFunction]}
43 onDelete={[MockFunction]}
44 onEdit={[MockFunction]}
51 exports[`should render correctly for multi-ALM binding: loaded 1`] = `
53 aria-labelledby="tab-azure"
59 className="big-padded"
65 className="spacer-bottom text-right"
67 <withAppStateContext(CreationTooltip)
69 preventCreation={false}
72 data-test="settings__alm-create"
74 onClick={[MockFunction]}
76 settings.almintegration.create
78 </withAppStateContext(CreationTooltip)>
80 <AlmBindingDefinitionBox
82 branchesEnabled={true}
86 "personalAccessToken": "asdf1234",
90 onCheck={[MockFunction]}
91 onDelete={[MockFunction]}
92 onEdit={[MockFunction]}
99 exports[`should render correctly for multi-ALM binding: loading ALM definitions 1`] = `
101 aria-labelledby="tab-azure"
107 className="big-padded"
113 className="spacer-bottom text-right"
115 <withAppStateContext(CreationTooltip)
117 preventCreation={false}
120 data-test="settings__alm-create"
122 onClick={[MockFunction]}
124 settings.almintegration.create
126 </withAppStateContext(CreationTooltip)>
128 <AlmBindingDefinitionBox
130 branchesEnabled={true}
134 "personalAccessToken": "asdf1234",
138 onCheck={[MockFunction]}
139 onDelete={[MockFunction]}
140 onEdit={[MockFunction]}
147 exports[`should render correctly for multi-ALM binding: loading project count 1`] = `
149 aria-labelledby="tab-azure"
155 className="big-padded"
161 className="spacer-bottom text-right"
163 <withAppStateContext(CreationTooltip)
165 preventCreation={true}
168 data-test="settings__alm-create"
170 onClick={[MockFunction]}
172 settings.almintegration.create
174 </withAppStateContext(CreationTooltip)>
176 <AlmBindingDefinitionBox
178 branchesEnabled={true}
182 "personalAccessToken": "asdf1234",
186 onCheck={[MockFunction]}
187 onDelete={[MockFunction]}
188 onEdit={[MockFunction]}
195 exports[`should render correctly for single-ALM binding 1`] = `
197 aria-labelledby="tab-azure"
203 className="big-padded"
209 className="spacer-bottom text-right"
211 <withAppStateContext(CreationTooltip)
213 preventCreation={true}
216 data-test="settings__alm-create"
218 onClick={[MockFunction]}
220 settings.almintegration.create
222 </withAppStateContext(CreationTooltip)>
224 <AlmBindingDefinitionBox
226 branchesEnabled={true}
230 "personalAccessToken": "asdf1234",
234 onCheck={[MockFunction]}
235 onDelete={[MockFunction]}
236 onEdit={[MockFunction]}
243 exports[`should render correctly for single-ALM binding 2`] = `
245 aria-labelledby="tab-azure"
251 className="big-padded"
257 className="spacer-bottom text-right"
259 <withAppStateContext(CreationTooltip)
261 preventCreation={true}
264 data-test="settings__alm-create"
266 onClick={[MockFunction]}
268 settings.almintegration.create
270 </withAppStateContext(CreationTooltip)>
272 <AlmBindingDefinitionBox
274 branchesEnabled={true}
278 "personalAccessToken": "asdf1234",
282 onCheck={[MockFunction]}
283 onDelete={[MockFunction]}
284 onEdit={[MockFunction]}
291 exports[`should render correctly for single-ALM binding 3`] = `
293 aria-labelledby="tab-azure"
299 className="big-padded"
305 className="spacer-bottom text-right"
307 <withAppStateContext(CreationTooltip)
309 preventCreation={true}
312 data-test="settings__alm-create"
314 onClick={[MockFunction]}
316 settings.almintegration.create
318 </withAppStateContext(CreationTooltip)>
320 <AlmBindingDefinitionBox
322 branchesEnabled={true}
326 "personalAccessToken": "asdf1234",
330 onCheck={[MockFunction]}
331 onDelete={[MockFunction]}
332 onEdit={[MockFunction]}
339 exports[`should render correctly with validation: create a first 1`] = `
341 aria-labelledby="tab-azure"
347 className="big-padded"
353 className="spacer-top"
355 settings.almintegration.empty.azure
358 className="big-spacer-top"
360 <withAppStateContext(CreationTooltip)
362 preventCreation={false}
365 data-test="settings__alm-create"
367 onClick={[MockFunction]}
369 settings.almintegration.create
371 </withAppStateContext(CreationTooltip)>
378 exports[`should render correctly with validation: create a second 1`] = `
380 aria-labelledby="tab-azure"
386 className="big-padded"
392 className="spacer-bottom text-right"
394 <withAppStateContext(CreationTooltip)
396 preventCreation={false}
399 data-test="settings__alm-create"
401 onClick={[MockFunction]}
403 settings.almintegration.create
405 </withAppStateContext(CreationTooltip)>
407 <AlmBindingDefinitionBox
409 branchesEnabled={true}
413 "clientId": "client1",
414 "clientSecret": "**clientsecret**",
416 "privateKey": "asdf1234",
417 "url": "http://github.enterprise.com",
418 "webhookSecret": "verySecretText!!",
422 onCheck={[MockFunction]}
423 onDelete={[MockFunction]}
424 onEdit={[MockFunction]}
431 exports[`should render correctly with validation: default 1`] = `
433 aria-labelledby="tab-azure"
439 className="big-padded"
445 className="spacer-bottom text-right"
447 <withAppStateContext(CreationTooltip)
449 preventCreation={false}
452 data-test="settings__alm-create"
454 onClick={[MockFunction]}
456 settings.almintegration.create
458 </withAppStateContext(CreationTooltip)>
460 <AlmBindingDefinitionBox
462 branchesEnabled={true}
466 "clientId": "client1",
467 "clientSecret": "**clientsecret**",
469 "privateKey": "asdf1234",
470 "url": "http://github.enterprise.com",
471 "webhookSecret": "verySecretText!!",
475 onCheck={[MockFunction]}
476 onDelete={[MockFunction]}
477 onEdit={[MockFunction]}
484 exports[`should render correctly with validation: empty 1`] = `
486 aria-labelledby="tab-azure"
492 className="big-padded"
498 className="spacer-top"
500 settings.almintegration.empty.azure
503 className="big-spacer-top"
505 <withAppStateContext(CreationTooltip)
507 preventCreation={false}
510 data-test="settings__alm-create"
512 onClick={[MockFunction]}
514 settings.almintegration.create
516 </withAppStateContext(CreationTooltip)>
523 exports[`should render correctly with validation: pass the correct key for bitbucket cloud 1`] = `
525 aria-labelledby="tab-bitbucket"
527 id="tabpanel-bitbucket"
531 className="big-padded"
537 className="spacer-bottom text-right"
539 <withAppStateContext(CreationTooltip)
541 preventCreation={false}
544 data-test="settings__alm-create"
546 onClick={[MockFunction]}
548 settings.almintegration.create
550 </withAppStateContext(CreationTooltip)>
552 <AlmBindingDefinitionBox
554 branchesEnabled={true}
557 "clientId": "client1",
558 "clientSecret": "**clientsecret**",
560 "workspace": "workspace",
564 onCheck={[MockFunction]}
565 onDelete={[MockFunction]}
566 onEdit={[MockFunction]}
575 defaultMessage="settings.almintegration.tabs.authentication_moved"
576 id="settings.almintegration.tabs.authentication-moved"
579 "link": <ForwardRef(Link)
582 "pathname": "/admin/settings",
583 "search": "category=authentication&tab=bitbucket",
587 property.category.authentication