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: submitting 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"
379 "clientId": "client1",
380 "clientSecret": "**clientsecret**",
382 "privateKey": "asdf1234",
383 "url": "http://github.enterprise.com",
384 "webhookSecret": "verySecretText!!",
387 onFieldChange={[MockFunction]}
391 className="modal-foot"
396 settings.almintegration.form.save
398 className="spacer-left"
403 onClick={[MockFunction]}
412 exports[`should render correctly: with validation error 1`] = `
414 contentLabel="settings.almintegration.form.header.create"
415 onRequestClose={[MockFunction]}
416 shouldCloseOnOverlayClick={false}
420 className="views-form"
421 onSubmit={[Function]}
424 className="modal-head"
427 settings.almintegration.form.header.create
431 className="modal-body modal-container"
437 "clientId": "client1",
438 "clientSecret": "**clientsecret**",
440 "privateKey": "asdf1234",
441 "url": "http://github.enterprise.com",
442 "webhookSecret": "verySecretText!!",
445 onFieldChange={[MockFunction]}
451 className="spacer-bottom"
453 settings.almintegration.configuration_invalid
456 className="list-styled"
459 this is a validation error
465 className="modal-foot"
470 settings.almintegration.form.save
472 className="spacer-left"
477 onClick={[MockFunction]}