1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly for multi-ALM binding: editing a definition 1`] = `
11 className="spacer-bottom text-right"
14 mouseLeaveDelay={0.25}
18 data-test="settings__alm-create"
20 onClick={[MockFunction]}
22 settings.almintegration.create
26 <AlmBindingDefinitionBox
31 "personalAccessToken": "asdf1234",
35 multipleDefinitions={false}
36 onCheck={[MockFunction]}
37 onDelete={[MockFunction]}
38 onEdit={[MockFunction]}
40 <AlmBindingDefinitionForm
44 "personalAccessToken": "asdf1234",
49 defaultMessage="settings.almintegration.azure.info"
50 id="settings.almintegration.azure.info"
54 onlyActiveOnIndex={false}
57 to="/documentation/analysis/pr-decoration/"
65 isSecondInstance={true}
66 onCancel={[MockFunction]}
67 onSubmit={[MockFunction]}
70 </AlmBindingDefinitionForm>
75 exports[`should render correctly for multi-ALM binding: loaded 1`] = `
77 className="big-padded"
83 className="spacer-bottom text-right"
86 mouseLeaveDelay={0.25}
90 data-test="settings__alm-create"
92 onClick={[MockFunction]}
94 settings.almintegration.create
98 <AlmBindingDefinitionBox
103 "personalAccessToken": "asdf1234",
107 multipleDefinitions={false}
108 onCheck={[MockFunction]}
109 onDelete={[MockFunction]}
110 onEdit={[MockFunction]}
116 exports[`should render correctly for multi-ALM binding: loading ALM definitions 1`] = `
118 className="big-padded"
124 className="spacer-bottom text-right"
127 mouseLeaveDelay={0.25}
131 data-test="settings__alm-create"
133 onClick={[MockFunction]}
135 settings.almintegration.create
139 <AlmBindingDefinitionBox
144 "personalAccessToken": "asdf1234",
148 multipleDefinitions={false}
149 onCheck={[MockFunction]}
150 onDelete={[MockFunction]}
151 onEdit={[MockFunction]}
157 exports[`should render correctly for multi-ALM binding: loading project count 1`] = `
159 className="big-padded"
165 className="spacer-bottom text-right"
168 mouseLeaveDelay={0.25}
171 defaultMessage="settings.almintegration.create.tooltip"
172 id="settings.almintegration.create.tooltip"
177 href="https://redirect.sonarsource.com/editions/enterprise.html?sourceEdition=developer"
178 rel="noopener noreferrer"
181 settings.almintegration.create.tooltip.link
189 data-test="settings__alm-create"
191 onClick={[MockFunction]}
193 settings.almintegration.create
197 <AlmBindingDefinitionBox
202 "personalAccessToken": "asdf1234",
206 multipleDefinitions={false}
207 onCheck={[MockFunction]}
208 onDelete={[MockFunction]}
209 onEdit={[MockFunction]}
215 exports[`should render correctly for multi-ALM binding: submitting 1`] = `
217 className="big-padded"
223 className="spacer-bottom text-right"
226 mouseLeaveDelay={0.25}
230 data-test="settings__alm-create"
232 onClick={[MockFunction]}
234 settings.almintegration.create
238 <AlmBindingDefinitionBox
243 "personalAccessToken": "asdf1234",
247 multipleDefinitions={false}
248 onCheck={[MockFunction]}
249 onDelete={[MockFunction]}
250 onEdit={[MockFunction]}
256 exports[`should render correctly for single-ALM binding 1`] = `
258 className="big-padded"
264 className="spacer-bottom text-right"
267 mouseLeaveDelay={0.25}
270 defaultMessage="settings.almintegration.create.tooltip"
271 id="settings.almintegration.create.tooltip"
276 href="https://redirect.sonarsource.com/editions/enterprise.html?sourceEdition=developer"
277 rel="noopener noreferrer"
280 settings.almintegration.create.tooltip.link
288 data-test="settings__alm-create"
290 onClick={[MockFunction]}
292 settings.almintegration.create
296 <AlmBindingDefinitionBox
301 "personalAccessToken": "asdf1234",
305 multipleDefinitions={false}
306 onCheck={[MockFunction]}
307 onDelete={[MockFunction]}
308 onEdit={[MockFunction]}
314 exports[`should render correctly for single-ALM binding 2`] = `
316 className="big-padded"
322 className="spacer-bottom text-right"
325 mouseLeaveDelay={0.25}
328 defaultMessage="settings.almintegration.create.tooltip"
329 id="settings.almintegration.create.tooltip"
334 href="https://redirect.sonarsource.com/editions/enterprise.html?sourceEdition=developer"
335 rel="noopener noreferrer"
338 settings.almintegration.create.tooltip.link
346 data-test="settings__alm-create"
348 onClick={[MockFunction]}
350 settings.almintegration.create
354 <AlmBindingDefinitionBox
359 "personalAccessToken": "asdf1234",
363 multipleDefinitions={false}
364 onCheck={[MockFunction]}
365 onDelete={[MockFunction]}
366 onEdit={[MockFunction]}
372 exports[`should render correctly for single-ALM binding 3`] = `
374 className="big-padded"
380 className="spacer-bottom text-right"
383 mouseLeaveDelay={0.25}
386 defaultMessage="settings.almintegration.create.tooltip"
387 id="settings.almintegration.create.tooltip"
392 href="https://redirect.sonarsource.com/editions/enterprise.html?sourceEdition=developer"
393 rel="noopener noreferrer"
396 settings.almintegration.create.tooltip.link
404 data-test="settings__alm-create"
406 onClick={[MockFunction]}
408 settings.almintegration.create
412 <AlmBindingDefinitionBox
417 "personalAccessToken": "asdf1234",
421 multipleDefinitions={false}
422 onCheck={[MockFunction]}
423 onDelete={[MockFunction]}
424 onEdit={[MockFunction]}
430 exports[`should render correctly with validation 1`] = `
432 className="big-padded"
438 className="spacer-bottom text-right"
441 mouseLeaveDelay={0.25}
445 data-test="settings__alm-create"
447 onClick={[MockFunction]}
449 settings.almintegration.create
453 <AlmBindingDefinitionBox
458 "clientId": "client1",
459 "clientSecret": "**clientsecret**",
461 "privateKey": "asdf1234",
462 "url": "http://github.enterprise.com",
466 multipleDefinitions={false}
467 onCheck={[MockFunction]}
468 onDelete={[MockFunction]}
469 onEdit={[MockFunction]}
475 exports[`should render correctly with validation: create a first 1`] = `
477 className="big-padded"
483 className="spacer-top"
485 settings.almintegration.empty.github
488 className="big-spacer-top"
491 mouseLeaveDelay={0.25}
495 data-test="settings__alm-create"
497 onClick={[MockFunction]}
499 settings.almintegration.create
503 <AlmBindingDefinitionForm
507 "clientId": "client1",
508 "clientSecret": "**clientsecret**",
510 "privateKey": "asdf1234",
511 "url": "http://github.enterprise.com",
516 defaultMessage="settings.almintegration.github.info"
517 id="settings.almintegration.github.info"
521 onlyActiveOnIndex={false}
524 to="/documentation/analysis/pr-decoration/"
532 isSecondInstance={false}
533 onCancel={[MockFunction]}
534 onSubmit={[MockFunction]}
537 </AlmBindingDefinitionForm>
542 exports[`should render correctly with validation: create a second 1`] = `
544 className="big-padded"
550 className="spacer-bottom text-right"
553 mouseLeaveDelay={0.25}
557 data-test="settings__alm-create"
559 onClick={[MockFunction]}
561 settings.almintegration.create
565 <AlmBindingDefinitionBox
570 "clientId": "client1",
571 "clientSecret": "**clientsecret**",
573 "privateKey": "asdf1234",
574 "url": "http://github.enterprise.com",
578 multipleDefinitions={false}
579 onCheck={[MockFunction]}
580 onDelete={[MockFunction]}
581 onEdit={[MockFunction]}
583 <AlmBindingDefinitionForm
587 "clientId": "client1",
588 "clientSecret": "**clientsecret**",
590 "privateKey": "asdf1234",
591 "url": "http://github.enterprise.com",
596 defaultMessage="settings.almintegration.github.info"
597 id="settings.almintegration.github.info"
601 onlyActiveOnIndex={false}
604 to="/documentation/analysis/pr-decoration/"
612 isSecondInstance={true}
613 onCancel={[MockFunction]}
614 onSubmit={[MockFunction]}
617 </AlmBindingDefinitionForm>
622 exports[`should render correctly with validation: empty 1`] = `
624 className="big-padded"
630 className="spacer-top"
632 settings.almintegration.empty.github
635 className="big-spacer-top"
638 mouseLeaveDelay={0.25}
642 data-test="settings__alm-create"
644 onClick={[MockFunction]}
646 settings.almintegration.create