1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly 1`] = `
5 contentLabel="settings.almintegration.form.header.create"
6 onRequestClose={[MockFunction]}
7 shouldCloseOnOverlayClick={false}
11 className="views-form"
15 className="modal-head"
18 settings.almintegration.form.header.create
22 className="modal-body modal-container"
28 "clientId": "client1",
29 "clientSecret": "**clientsecret**",
31 "privateKey": "asdf1234",
32 "url": "http://github.enterprise.com",
33 "webhookSecret": "verySecretText!!",
36 onFieldChange={[MockFunction]}
40 className="modal-foot"
45 settings.almintegration.form.save
47 className="spacer-left"
52 onClick={[MockFunction]}
61 exports[`should render correctly for azure 1`] = `
63 contentLabel="settings.almintegration.form.header.create"
64 onRequestClose={[MockFunction]}
65 shouldCloseOnOverlayClick={false}
69 className="views-form"
73 className="modal-head"
76 settings.almintegration.form.header.create
80 className="modal-body modal-container"
86 "clientId": "client1",
87 "clientSecret": "**clientsecret**",
89 "privateKey": "asdf1234",
90 "url": "http://github.enterprise.com",
91 "webhookSecret": "verySecretText!!",
94 onFieldChange={[MockFunction]}
98 className="modal-foot"
103 settings.almintegration.form.save
105 className="spacer-left"
110 onClick={[MockFunction]}
119 exports[`should render correctly for bitbucket 1`] = `
121 contentLabel="settings.almintegration.form.header.create"
122 onRequestClose={[MockFunction]}
123 shouldCloseOnOverlayClick={false}
127 className="views-form"
128 onSubmit={[Function]}
131 className="modal-head"
134 settings.almintegration.form.header.create
138 className="modal-body modal-container"
144 "clientId": "client1",
145 "clientSecret": "**clientsecret**",
147 "privateKey": "asdf1234",
148 "url": "http://github.enterprise.com",
149 "webhookSecret": "verySecretText!!",
153 onFieldChange={[MockFunction]}
154 onVariantChange={[MockFunction]}
159 className="modal-foot"
164 settings.almintegration.form.save
166 className="spacer-left"
171 onClick={[MockFunction]}
180 exports[`should render correctly for github 1`] = `
182 contentLabel="settings.almintegration.form.header.create"
183 onRequestClose={[MockFunction]}
184 shouldCloseOnOverlayClick={false}
188 className="views-form"
189 onSubmit={[Function]}
192 className="modal-head"
195 settings.almintegration.form.header.create
199 className="modal-body modal-container"
205 "clientId": "client1",
206 "clientSecret": "**clientsecret**",
208 "privateKey": "asdf1234",
209 "url": "http://github.enterprise.com",
210 "webhookSecret": "verySecretText!!",
213 onFieldChange={[MockFunction]}
217 className="modal-foot"
222 settings.almintegration.form.save
224 className="spacer-left"
229 onClick={[MockFunction]}
238 exports[`should render correctly for gitlab 1`] = `
240 contentLabel="settings.almintegration.form.header.create"
241 onRequestClose={[MockFunction]}
242 shouldCloseOnOverlayClick={false}
246 className="views-form"
247 onSubmit={[Function]}
250 className="modal-head"
253 settings.almintegration.form.header.create
257 className="modal-body modal-container"
263 "clientId": "client1",
264 "clientSecret": "**clientsecret**",
266 "privateKey": "asdf1234",
267 "url": "http://github.enterprise.com",
268 "webhookSecret": "verySecretText!!",
271 onFieldChange={[MockFunction]}
275 className="modal-foot"
280 settings.almintegration.form.save
282 className="spacer-left"
287 onClick={[MockFunction]}
296 exports[`should render correctly: editing 1`] = `
298 contentLabel="settings.almintegration.form.header.edit"
299 onRequestClose={[MockFunction]}
300 shouldCloseOnOverlayClick={false}
304 className="views-form"
305 onSubmit={[Function]}
308 className="modal-head"
311 settings.almintegration.form.header.edit
315 className="modal-body modal-container"
321 "clientId": "client1",
322 "clientSecret": "**clientsecret**",
324 "privateKey": "asdf1234",
325 "url": "http://github.enterprise.com",
326 "webhookSecret": "verySecretText!!",
329 onFieldChange={[MockFunction]}
333 className="modal-foot"
338 settings.almintegration.form.save
340 className="spacer-left"
345 onClick={[MockFunction]}
354 exports[`should render correctly: second instance 1`] = `
356 contentLabel="settings.almintegration.form.header.create"
357 onRequestClose={[MockFunction]}
358 shouldCloseOnOverlayClick={false}
362 className="views-form"
363 onSubmit={[Function]}
366 className="modal-head"
369 settings.almintegration.form.header.create
373 className="modal-body modal-container"
376 className="big-spacer-bottom"
379 settings.almintegration.form.second_instance_warning
385 "clientId": "client1",
386 "clientSecret": "**clientsecret**",
388 "privateKey": "asdf1234",
389 "url": "http://github.enterprise.com",
390 "webhookSecret": "verySecretText!!",
393 onFieldChange={[MockFunction]}
397 className="modal-foot"
402 settings.almintegration.form.save
404 className="spacer-left"
409 onClick={[MockFunction]}
418 exports[`should render correctly: submitting 1`] = `
420 contentLabel="settings.almintegration.form.header.create"
421 onRequestClose={[MockFunction]}
422 shouldCloseOnOverlayClick={false}
426 className="views-form"
427 onSubmit={[Function]}
430 className="modal-head"
433 settings.almintegration.form.header.create
437 className="modal-body modal-container"
443 "clientId": "client1",
444 "clientSecret": "**clientsecret**",
446 "privateKey": "asdf1234",
447 "url": "http://github.enterprise.com",
448 "webhookSecret": "verySecretText!!",
451 onFieldChange={[MockFunction]}
455 className="modal-foot"
460 settings.almintegration.form.save
462 className="spacer-left"
467 onClick={[MockFunction]}
476 exports[`should render correctly: with validation error 1`] = `
478 contentLabel="settings.almintegration.form.header.create"
479 onRequestClose={[MockFunction]}
480 shouldCloseOnOverlayClick={false}
484 className="views-form"
485 onSubmit={[Function]}
488 className="modal-head"
491 settings.almintegration.form.header.create
495 className="modal-body modal-container"
501 "clientId": "client1",
502 "clientSecret": "**clientsecret**",
504 "privateKey": "asdf1234",
505 "url": "http://github.enterprise.com",
506 "webhookSecret": "verySecretText!!",
509 onFieldChange={[MockFunction]}
515 className="spacer-bottom"
517 settings.almintegration.configuration_invalid
520 className="list-styled"
523 this is a validation error
529 className="modal-foot"
534 settings.almintegration.form.save
536 className="spacer-left"
541 onClick={[MockFunction]}