1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly for multi-ALM binding: editing a definition 1`] = `
14 className="spacer-bottom text-right"
16 <withAppStateContext(CreationTooltip)
18 preventCreation={false}
21 data-test="settings__alm-create"
23 onClick={[MockFunction]}
25 settings.almintegration.create
27 </withAppStateContext(CreationTooltip)>
29 <AlmBindingDefinitionBox
31 branchesEnabled={true}
35 "personalAccessToken": "asdf1234",
39 multipleDefinitions={false}
40 onCheck={[MockFunction]}
41 onDelete={[MockFunction]}
42 onEdit={[MockFunction]}
47 className="huge-spacer-top huge-spacer-bottom bordered-top"
50 className="big-padded"
52 <CategoryDefinitionsList
53 category="almintegration"
54 definitions={Array []}
61 exports[`should render correctly for multi-ALM binding: loaded 1`] = `
66 className="big-padded"
72 className="spacer-bottom text-right"
74 <withAppStateContext(CreationTooltip)
76 preventCreation={false}
79 data-test="settings__alm-create"
81 onClick={[MockFunction]}
83 settings.almintegration.create
85 </withAppStateContext(CreationTooltip)>
87 <AlmBindingDefinitionBox
89 branchesEnabled={true}
93 "personalAccessToken": "asdf1234",
97 multipleDefinitions={false}
98 onCheck={[MockFunction]}
99 onDelete={[MockFunction]}
100 onEdit={[MockFunction]}
105 className="huge-spacer-top huge-spacer-bottom bordered-top"
108 className="big-padded"
110 <CategoryDefinitionsList
111 category="almintegration"
112 definitions={Array []}
119 exports[`should render correctly for multi-ALM binding: loading ALM definitions 1`] = `
124 className="big-padded"
130 className="spacer-bottom text-right"
132 <withAppStateContext(CreationTooltip)
134 preventCreation={false}
137 data-test="settings__alm-create"
139 onClick={[MockFunction]}
141 settings.almintegration.create
143 </withAppStateContext(CreationTooltip)>
145 <AlmBindingDefinitionBox
147 branchesEnabled={true}
151 "personalAccessToken": "asdf1234",
155 multipleDefinitions={false}
156 onCheck={[MockFunction]}
157 onDelete={[MockFunction]}
158 onEdit={[MockFunction]}
163 className="huge-spacer-top huge-spacer-bottom bordered-top"
166 className="big-padded"
168 <CategoryDefinitionsList
169 category="almintegration"
170 definitions={Array []}
177 exports[`should render correctly for multi-ALM binding: loading project count 1`] = `
182 className="big-padded"
188 className="spacer-bottom text-right"
190 <withAppStateContext(CreationTooltip)
192 preventCreation={true}
195 data-test="settings__alm-create"
197 onClick={[MockFunction]}
199 settings.almintegration.create
201 </withAppStateContext(CreationTooltip)>
203 <AlmBindingDefinitionBox
205 branchesEnabled={true}
209 "personalAccessToken": "asdf1234",
213 multipleDefinitions={false}
214 onCheck={[MockFunction]}
215 onDelete={[MockFunction]}
216 onEdit={[MockFunction]}
221 className="huge-spacer-top huge-spacer-bottom bordered-top"
224 className="big-padded"
226 <CategoryDefinitionsList
227 category="almintegration"
228 definitions={Array []}
235 exports[`should render correctly for single-ALM binding 1`] = `
240 className="big-padded"
246 className="spacer-bottom text-right"
248 <withAppStateContext(CreationTooltip)
250 preventCreation={true}
253 data-test="settings__alm-create"
255 onClick={[MockFunction]}
257 settings.almintegration.create
259 </withAppStateContext(CreationTooltip)>
261 <AlmBindingDefinitionBox
263 branchesEnabled={true}
267 "personalAccessToken": "asdf1234",
271 multipleDefinitions={false}
272 onCheck={[MockFunction]}
273 onDelete={[MockFunction]}
274 onEdit={[MockFunction]}
279 className="huge-spacer-top huge-spacer-bottom bordered-top"
282 className="big-padded"
284 <CategoryDefinitionsList
285 category="almintegration"
286 definitions={Array []}
293 exports[`should render correctly for single-ALM binding 2`] = `
298 className="big-padded"
304 className="spacer-bottom text-right"
306 <withAppStateContext(CreationTooltip)
308 preventCreation={true}
311 data-test="settings__alm-create"
313 onClick={[MockFunction]}
315 settings.almintegration.create
317 </withAppStateContext(CreationTooltip)>
319 <AlmBindingDefinitionBox
321 branchesEnabled={true}
325 "personalAccessToken": "asdf1234",
329 multipleDefinitions={false}
330 onCheck={[MockFunction]}
331 onDelete={[MockFunction]}
332 onEdit={[MockFunction]}
337 className="huge-spacer-top huge-spacer-bottom bordered-top"
340 className="big-padded"
342 <CategoryDefinitionsList
343 category="almintegration"
344 definitions={Array []}
351 exports[`should render correctly for single-ALM binding 3`] = `
356 className="big-padded"
362 className="spacer-bottom text-right"
364 <withAppStateContext(CreationTooltip)
366 preventCreation={true}
369 data-test="settings__alm-create"
371 onClick={[MockFunction]}
373 settings.almintegration.create
375 </withAppStateContext(CreationTooltip)>
377 <AlmBindingDefinitionBox
379 branchesEnabled={true}
383 "personalAccessToken": "asdf1234",
387 multipleDefinitions={false}
388 onCheck={[MockFunction]}
389 onDelete={[MockFunction]}
390 onEdit={[MockFunction]}
395 className="huge-spacer-top huge-spacer-bottom bordered-top"
398 className="big-padded"
400 <CategoryDefinitionsList
401 category="almintegration"
402 definitions={Array []}
409 exports[`should render correctly with validation: create a first 1`] = `
414 className="big-padded"
420 className="spacer-top"
422 settings.almintegration.empty.azure
425 className="big-spacer-top"
427 <withAppStateContext(CreationTooltip)
429 preventCreation={false}
432 data-test="settings__alm-create"
434 onClick={[MockFunction]}
436 settings.almintegration.create
438 </withAppStateContext(CreationTooltip)>
443 className="huge-spacer-top huge-spacer-bottom bordered-top"
446 className="big-padded"
448 <CategoryDefinitionsList
449 category="almintegration"
450 definitions={Array []}
457 exports[`should render correctly with validation: create a second 1`] = `
462 className="big-padded"
468 className="spacer-bottom text-right"
470 <withAppStateContext(CreationTooltip)
472 preventCreation={false}
475 data-test="settings__alm-create"
477 onClick={[MockFunction]}
479 settings.almintegration.create
481 </withAppStateContext(CreationTooltip)>
483 <AlmBindingDefinitionBox
485 branchesEnabled={true}
489 "clientId": "client1",
490 "clientSecret": "**clientsecret**",
492 "privateKey": "asdf1234",
493 "url": "http://github.enterprise.com",
497 multipleDefinitions={false}
498 onCheck={[MockFunction]}
499 onDelete={[MockFunction]}
500 onEdit={[MockFunction]}
505 className="huge-spacer-top huge-spacer-bottom bordered-top"
508 className="big-padded"
510 <CategoryDefinitionsList
511 category="almintegration"
512 definitions={Array []}
519 exports[`should render correctly with validation: default 1`] = `
524 className="big-padded"
530 className="spacer-bottom text-right"
532 <withAppStateContext(CreationTooltip)
534 preventCreation={false}
537 data-test="settings__alm-create"
539 onClick={[MockFunction]}
541 settings.almintegration.create
543 </withAppStateContext(CreationTooltip)>
545 <AlmBindingDefinitionBox
547 branchesEnabled={true}
551 "clientId": "client1",
552 "clientSecret": "**clientsecret**",
554 "privateKey": "asdf1234",
555 "url": "http://github.enterprise.com",
559 multipleDefinitions={false}
560 onCheck={[MockFunction]}
561 onDelete={[MockFunction]}
562 onEdit={[MockFunction]}
567 className="huge-spacer-top huge-spacer-bottom bordered-top"
570 className="big-padded"
572 <CategoryDefinitionsList
573 category="almintegration"
574 definitions={Array []}
581 exports[`should render correctly with validation: empty 1`] = `
586 className="big-padded"
592 className="spacer-top"
594 settings.almintegration.empty.azure
597 className="big-spacer-top"
599 <withAppStateContext(CreationTooltip)
601 preventCreation={false}
604 data-test="settings__alm-create"
606 onClick={[MockFunction]}
608 settings.almintegration.create
610 </withAppStateContext(CreationTooltip)>
615 className="huge-spacer-top huge-spacer-bottom bordered-top"
618 className="big-padded"
620 <CategoryDefinitionsList
621 category="almintegration"
622 definitions={Array []}
629 exports[`should render correctly with validation: pass the correct key for bitbucket cloud 1`] = `
634 className="big-padded"
640 className="spacer-bottom text-right"
642 <withAppStateContext(CreationTooltip)
644 preventCreation={false}
647 data-test="settings__alm-create"
649 onClick={[MockFunction]}
651 settings.almintegration.create
653 </withAppStateContext(CreationTooltip)>
655 <AlmBindingDefinitionBox
657 branchesEnabled={true}
660 "clientId": "client1",
661 "clientSecret": "**clientsecret**",
663 "workspace": "workspace",
667 multipleDefinitions={false}
668 onCheck={[MockFunction]}
669 onDelete={[MockFunction]}
670 onEdit={[MockFunction]}
675 className="huge-spacer-top huge-spacer-bottom bordered-top"
678 className="big-padded"
680 <CategoryDefinitionsList
681 category="almintegration"
682 definitions={Array []}
683 subCategory="bitbucket"