1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly: bitbucket 1`] = `
5 className="display-flex-start"
14 onboarding.create_project.pat_form.title.bitbucket
17 className="big-spacer-top big-spacer-bottom"
19 onboarding.create_project.pat_form.help.bitbucket
22 error="onboarding.create_project.pat_incorrect.bitbucket"
23 id="personal_access_token_validation"
26 label="onboarding.create_project.enter_pat"
31 className="input-super-large is-invalid"
32 id="personal_access_token"
40 error="onboarding.create_project.pat_incorrect.bitbucket"
41 id="personal_access_token_submit"
52 className="spacer-left"
58 className="big-spacer-left width-50"
63 onboarding.create_project.pat_help.title
66 className="big-spacer-top big-spacer-bottom"
69 defaultMessage="onboarding.create_project.pat_help.instructions"
70 id="onboarding.create_project.pat_help.instructions"
73 "alm": "onboarding.alm.bitbucket",
79 className="text-middle"
83 className="spacer-right"
85 src="/images/alm/bitbucket.svg"
88 href="http://www.example.com/plugins/servlet/access-tokens/add"
89 rel="noopener noreferrer"
92 onboarding.create_project.pat_help.link
96 className="big-spacer-top big-spacer-bottom"
98 onboarding.create_project.pat_help.instructions2.bitbucket
103 defaultMessage="onboarding.create_project.pat_help.bbs_permission_projects"
104 id="onboarding.create_project.pat_help.bbs_permission_projects"
108 onboarding.create_project.pat_help.read_permission
116 defaultMessage="onboarding.create_project.pat_help.bbs_permission_repos"
117 id="onboarding.create_project.pat_help.bbs_permission_repos"
121 onboarding.create_project.pat_help.read_permission
132 exports[`should render correctly: bitbucket cloud 1`] = `
134 className="display-flex-start"
138 onSubmit={[Function]}
143 onboarding.create_project.pat_form.title.bitbucketcloud
146 className="big-spacer-top big-spacer-bottom"
148 onboarding.create_project.pat_form.help.bitbucketcloud
151 id="enter_username_validation"
154 label="onboarding.create_project.enter_username"
159 className="input-super-large is-invalid"
163 onChange={[Function]}
168 error="onboarding.create_project.pat_incorrect.bitbucketcloud"
169 id="personal_access_token_validation"
172 label="onboarding.create_project.enter_pat.bitbucketcloud"
177 className="input-super-large is-invalid"
178 id="personal_access_token"
180 onChange={[Function]}
186 error="onboarding.create_project.pat_incorrect.bitbucketcloud"
187 id="personal_access_token_submit"
198 className="spacer-left"
204 className="big-spacer-left width-50"
209 onboarding.create_project.pat_help.instructions_username.bitbucketcloud.title
212 className="big-spacer-top big-spacer-bottom"
214 onboarding.create_project.pat_help.instructions_username.bitbucketcloud
217 className="text-middle big-spacer-bottom"
221 className="spacer-right"
223 src="/images/alm/bitbucket.svg"
226 href="https://bitbucket.org/account/settings/"
227 rel="noopener noreferrer"
230 onboarding.create_project.pat_help.instructions_username.bitbucketcloud.link
234 onboarding.create_project.pat_help.bitbucketcloud.title
237 className="big-spacer-top big-spacer-bottom"
240 defaultMessage="onboarding.create_project.pat_help.bitbucketcloud.instructions"
241 id="onboarding.create_project.pat_help.instructions"
244 "alm": "onboarding.alm.bitbucketcloud",
250 className="text-middle"
254 className="spacer-right"
256 src="/images/alm/bitbucket.svg"
259 href="https://bitbucket.org/account/settings/app-passwords/new"
260 rel="noopener noreferrer"
263 onboarding.create_project.pat_help.bitbucketcloud.link
267 className="big-spacer-top big-spacer-bottom"
269 onboarding.create_project.pat_help.instructions2.bitbucketcloud
274 defaultMessage="onboarding.create_project.pat_help.bbs_permission_repos"
275 id="onboarding.create_project.pat_help.bbs_permission_repos"
279 onboarding.create_project.pat_help.read_permission
290 exports[`should render correctly: gitlab 1`] = `
292 className="display-flex-start"
296 onSubmit={[Function]}
301 onboarding.create_project.pat_form.title.gitlab
304 className="big-spacer-top big-spacer-bottom"
306 onboarding.create_project.pat_form.help.gitlab
309 error="onboarding.create_project.pat_incorrect.gitlab"
310 id="personal_access_token_validation"
313 label="onboarding.create_project.enter_pat"
318 className="input-super-large is-invalid"
319 id="personal_access_token"
321 onChange={[Function]}
327 error="onboarding.create_project.pat_incorrect.gitlab"
328 id="personal_access_token_submit"
339 className="spacer-left"
345 className="big-spacer-left width-50"
350 onboarding.create_project.pat_help.title
353 className="big-spacer-top big-spacer-bottom"
356 defaultMessage="onboarding.create_project.pat_help.instructions"
357 id="onboarding.create_project.pat_help.instructions"
360 "alm": "onboarding.alm.gitlab",
366 className="text-middle"
370 className="spacer-right"
372 src="/images/alm/gitlab.svg"
375 href="https://gitlab.com/profile/personal_access_tokens"
376 rel="noopener noreferrer"
379 onboarding.create_project.pat_help.link
383 className="big-spacer-top big-spacer-bottom"
385 onboarding.create_project.pat_help.instructions2.gitlab
389 className="spacer-bottom"
392 onboarding.create_project.pat_help.gitlab.read_api_permission
400 exports[`should render correctly: gitlab with non-standard api path 1`] = `
402 className="display-flex-start"
406 onSubmit={[Function]}
411 onboarding.create_project.pat_form.title.gitlab
414 className="big-spacer-top big-spacer-bottom"
416 onboarding.create_project.pat_form.help.gitlab
419 error="onboarding.create_project.pat_incorrect.gitlab"
420 id="personal_access_token_validation"
423 label="onboarding.create_project.enter_pat"
428 className="input-super-large is-invalid"
429 id="personal_access_token"
431 onChange={[Function]}
437 error="onboarding.create_project.pat_incorrect.gitlab"
438 id="personal_access_token_submit"
449 className="spacer-left"
455 className="big-spacer-left width-50"
460 onboarding.create_project.pat_help.title
463 className="big-spacer-top big-spacer-bottom"
466 defaultMessage="onboarding.create_project.pat_help.instructions"
467 id="onboarding.create_project.pat_help.instructions"
470 "alm": "onboarding.alm.gitlab",
476 className="text-middle"
480 className="spacer-right"
482 src="/images/alm/gitlab.svg"
485 href="https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#creating-a-personal-access-token"
486 rel="noopener noreferrer"
489 onboarding.create_project.pat_help.link
493 className="big-spacer-top big-spacer-bottom"
495 onboarding.create_project.pat_help.instructions2.gitlab
499 className="spacer-bottom"
502 onboarding.create_project.pat_help.gitlab.read_api_permission
510 exports[`should render correctly: no token needed 1`] = `
512 className="spacer-left"
517 exports[`should show error when issue: issue submitting token 1`] = `
519 className="display-flex-start"
523 onSubmit={[Function]}
528 onboarding.create_project.pat_form.title.bitbucketcloud
531 className="big-spacer-top big-spacer-bottom"
533 onboarding.create_project.pat_form.help.bitbucketcloud
536 id="enter_username_validation"
539 label="onboarding.create_project.enter_username"
544 className="input-super-large is-invalid"
548 onChange={[Function]}
554 error="default_error_message"
555 id="personal_access_token_validation"
558 label="onboarding.create_project.enter_pat.bitbucketcloud"
563 className="input-super-large is-invalid"
564 id="personal_access_token"
566 onChange={[Function]}
572 error="default_error_message"
573 id="personal_access_token_submit"
584 className="spacer-left"
590 className="big-spacer-left width-50"
595 onboarding.create_project.pat_help.instructions_username.bitbucketcloud.title
598 className="big-spacer-top big-spacer-bottom"
600 onboarding.create_project.pat_help.instructions_username.bitbucketcloud
603 className="text-middle big-spacer-bottom"
607 className="spacer-right"
609 src="/images/alm/bitbucket.svg"
612 href="https://bitbucket.org/account/settings/"
613 rel="noopener noreferrer"
616 onboarding.create_project.pat_help.instructions_username.bitbucketcloud.link
620 onboarding.create_project.pat_help.bitbucketcloud.title
623 className="big-spacer-top big-spacer-bottom"
626 defaultMessage="onboarding.create_project.pat_help.bitbucketcloud.instructions"
627 id="onboarding.create_project.pat_help.instructions"
630 "alm": "onboarding.alm.bitbucketcloud",
636 className="text-middle"
640 className="spacer-right"
642 src="/images/alm/bitbucket.svg"
645 href="https://bitbucket.org/account/settings/app-passwords/new"
646 rel="noopener noreferrer"
649 onboarding.create_project.pat_help.bitbucketcloud.link
653 className="big-spacer-top big-spacer-bottom"
655 onboarding.create_project.pat_help.instructions2.bitbucketcloud
660 defaultMessage="onboarding.create_project.pat_help.bbs_permission_repos"
661 id="onboarding.create_project.pat_help.bbs_permission_repos"
665 onboarding.create_project.pat_help.read_permission