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 multipleDefinitions={false}
43 onCheck={[MockFunction]}
44 onDelete={[MockFunction]}
45 onEdit={[MockFunction]}
52 exports[`should render correctly for multi-ALM binding: loaded 1`] = `
54 aria-labelledby="tab-azure"
60 className="big-padded"
66 className="spacer-bottom text-right"
68 <withAppStateContext(CreationTooltip)
70 preventCreation={false}
73 data-test="settings__alm-create"
75 onClick={[MockFunction]}
77 settings.almintegration.create
79 </withAppStateContext(CreationTooltip)>
81 <AlmBindingDefinitionBox
83 branchesEnabled={true}
87 "personalAccessToken": "asdf1234",
91 multipleDefinitions={false}
92 onCheck={[MockFunction]}
93 onDelete={[MockFunction]}
94 onEdit={[MockFunction]}
101 exports[`should render correctly for multi-ALM binding: loading ALM definitions 1`] = `
103 aria-labelledby="tab-azure"
109 className="big-padded"
115 className="spacer-bottom text-right"
117 <withAppStateContext(CreationTooltip)
119 preventCreation={false}
122 data-test="settings__alm-create"
124 onClick={[MockFunction]}
126 settings.almintegration.create
128 </withAppStateContext(CreationTooltip)>
130 <AlmBindingDefinitionBox
132 branchesEnabled={true}
136 "personalAccessToken": "asdf1234",
140 multipleDefinitions={false}
141 onCheck={[MockFunction]}
142 onDelete={[MockFunction]}
143 onEdit={[MockFunction]}
150 exports[`should render correctly for multi-ALM binding: loading project count 1`] = `
152 aria-labelledby="tab-azure"
158 className="big-padded"
164 className="spacer-bottom text-right"
166 <withAppStateContext(CreationTooltip)
168 preventCreation={true}
171 data-test="settings__alm-create"
173 onClick={[MockFunction]}
175 settings.almintegration.create
177 </withAppStateContext(CreationTooltip)>
179 <AlmBindingDefinitionBox
181 branchesEnabled={true}
185 "personalAccessToken": "asdf1234",
189 multipleDefinitions={false}
190 onCheck={[MockFunction]}
191 onDelete={[MockFunction]}
192 onEdit={[MockFunction]}
199 exports[`should render correctly for single-ALM binding 1`] = `
201 aria-labelledby="tab-azure"
207 className="big-padded"
213 className="spacer-bottom text-right"
215 <withAppStateContext(CreationTooltip)
217 preventCreation={true}
220 data-test="settings__alm-create"
222 onClick={[MockFunction]}
224 settings.almintegration.create
226 </withAppStateContext(CreationTooltip)>
228 <AlmBindingDefinitionBox
230 branchesEnabled={true}
234 "personalAccessToken": "asdf1234",
238 multipleDefinitions={false}
239 onCheck={[MockFunction]}
240 onDelete={[MockFunction]}
241 onEdit={[MockFunction]}
248 exports[`should render correctly for single-ALM binding 2`] = `
250 aria-labelledby="tab-azure"
256 className="big-padded"
262 className="spacer-bottom text-right"
264 <withAppStateContext(CreationTooltip)
266 preventCreation={true}
269 data-test="settings__alm-create"
271 onClick={[MockFunction]}
273 settings.almintegration.create
275 </withAppStateContext(CreationTooltip)>
277 <AlmBindingDefinitionBox
279 branchesEnabled={true}
283 "personalAccessToken": "asdf1234",
287 multipleDefinitions={false}
288 onCheck={[MockFunction]}
289 onDelete={[MockFunction]}
290 onEdit={[MockFunction]}
297 exports[`should render correctly for single-ALM binding 3`] = `
299 aria-labelledby="tab-azure"
305 className="big-padded"
311 className="spacer-bottom text-right"
313 <withAppStateContext(CreationTooltip)
315 preventCreation={true}
318 data-test="settings__alm-create"
320 onClick={[MockFunction]}
322 settings.almintegration.create
324 </withAppStateContext(CreationTooltip)>
326 <AlmBindingDefinitionBox
328 branchesEnabled={true}
332 "personalAccessToken": "asdf1234",
336 multipleDefinitions={false}
337 onCheck={[MockFunction]}
338 onDelete={[MockFunction]}
339 onEdit={[MockFunction]}
346 exports[`should render correctly with validation: create a first 1`] = `
348 aria-labelledby="tab-azure"
354 className="big-padded"
360 className="spacer-top"
362 settings.almintegration.empty.azure
365 className="big-spacer-top"
367 <withAppStateContext(CreationTooltip)
369 preventCreation={false}
372 data-test="settings__alm-create"
374 onClick={[MockFunction]}
376 settings.almintegration.create
378 </withAppStateContext(CreationTooltip)>
385 exports[`should render correctly with validation: create a second 1`] = `
387 aria-labelledby="tab-azure"
393 className="big-padded"
399 className="spacer-bottom text-right"
401 <withAppStateContext(CreationTooltip)
403 preventCreation={false}
406 data-test="settings__alm-create"
408 onClick={[MockFunction]}
410 settings.almintegration.create
412 </withAppStateContext(CreationTooltip)>
414 <AlmBindingDefinitionBox
416 branchesEnabled={true}
420 "clientId": "client1",
421 "clientSecret": "**clientsecret**",
423 "privateKey": "asdf1234",
424 "url": "http://github.enterprise.com",
425 "webhookSecret": "verySecretText!!",
429 multipleDefinitions={false}
430 onCheck={[MockFunction]}
431 onDelete={[MockFunction]}
432 onEdit={[MockFunction]}
439 exports[`should render correctly with validation: default 1`] = `
441 aria-labelledby="tab-azure"
447 className="big-padded"
453 className="spacer-bottom text-right"
455 <withAppStateContext(CreationTooltip)
457 preventCreation={false}
460 data-test="settings__alm-create"
462 onClick={[MockFunction]}
464 settings.almintegration.create
466 </withAppStateContext(CreationTooltip)>
468 <AlmBindingDefinitionBox
470 branchesEnabled={true}
474 "clientId": "client1",
475 "clientSecret": "**clientsecret**",
477 "privateKey": "asdf1234",
478 "url": "http://github.enterprise.com",
479 "webhookSecret": "verySecretText!!",
483 multipleDefinitions={false}
484 onCheck={[MockFunction]}
485 onDelete={[MockFunction]}
486 onEdit={[MockFunction]}
493 exports[`should render correctly with validation: empty 1`] = `
495 aria-labelledby="tab-azure"
501 className="big-padded"
507 className="spacer-top"
509 settings.almintegration.empty.azure
512 className="big-spacer-top"
514 <withAppStateContext(CreationTooltip)
516 preventCreation={false}
519 data-test="settings__alm-create"
521 onClick={[MockFunction]}
523 settings.almintegration.create
525 </withAppStateContext(CreationTooltip)>
532 exports[`should render correctly with validation: pass the correct key for bitbucket cloud 1`] = `
534 aria-labelledby="tab-bitbucket"
536 id="tabpanel-bitbucket"
540 className="big-padded"
546 className="spacer-bottom text-right"
548 <withAppStateContext(CreationTooltip)
550 preventCreation={false}
553 data-test="settings__alm-create"
555 onClick={[MockFunction]}
557 settings.almintegration.create
559 </withAppStateContext(CreationTooltip)>
561 <AlmBindingDefinitionBox
563 branchesEnabled={true}
566 "clientId": "client1",
567 "clientSecret": "**clientsecret**",
569 "workspace": "workspace",
573 multipleDefinitions={false}
574 onCheck={[MockFunction]}
575 onDelete={[MockFunction]}
576 onEdit={[MockFunction]}
585 defaultMessage="settings.almintegration.tabs.authentication_moved"
586 id="settings.almintegration.tabs.authentication-moved"
589 "link": <ForwardRef(Link)
592 "pathname": "/admin/settings",
593 "search": "category=authentication&tab=bitbucket",
597 property.category.authentication