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.bitbucket.instructions"
70 id="onboarding.create_project.pat_help.instructions"
74 onboarding.create_project.pat_help.bitbucket.instructions.button
77 onboarding.create_project.pat_help.bitbucket.instructions.menu
84 className="text-middle"
88 className="spacer-right"
90 src="/images/alm/bitbucket.svg"
93 href="http://www.example.com/account"
94 rel="noopener noreferrer"
97 onboarding.create_project.pat_help.link
101 className="big-spacer-top big-spacer-bottom"
103 onboarding.create_project.pat_help.instructions2.bitbucket
108 defaultMessage="onboarding.create_project.pat_help.bbs_permission_projects"
109 id="onboarding.create_project.pat_help.bbs_permission_projects"
113 onboarding.create_project.pat_help.read_permission
121 defaultMessage="onboarding.create_project.pat_help.bbs_permission_repos"
122 id="onboarding.create_project.pat_help.bbs_permission_repos"
126 onboarding.create_project.pat_help.read_permission
137 exports[`should render correctly: bitbucket cloud 1`] = `
139 className="display-flex-start"
143 onSubmit={[Function]}
148 onboarding.create_project.pat_form.title.bitbucketcloud
151 className="big-spacer-top big-spacer-bottom"
153 onboarding.create_project.pat_form.help.bitbucketcloud
156 id="enter_username_validation"
159 label="onboarding.create_project.enter_username"
164 className="input-super-large is-invalid"
168 onChange={[Function]}
173 error="onboarding.create_project.pat_incorrect.bitbucketcloud"
174 id="personal_access_token_validation"
177 label="onboarding.create_project.enter_pat.bitbucketcloud"
182 className="input-super-large is-invalid"
183 id="personal_access_token"
185 onChange={[Function]}
191 error="onboarding.create_project.pat_incorrect.bitbucketcloud"
192 id="personal_access_token_submit"
203 className="spacer-left"
209 className="big-spacer-left width-50"
214 onboarding.create_project.pat_help.instructions_username.bitbucketcloud.title
217 className="big-spacer-top big-spacer-bottom"
219 onboarding.create_project.pat_help.instructions_username.bitbucketcloud
222 className="text-middle big-spacer-bottom"
226 className="spacer-right"
228 src="/images/alm/bitbucket.svg"
231 href="https://bitbucket.org/account/settings/"
232 rel="noopener noreferrer"
235 onboarding.create_project.pat_help.instructions_username.bitbucketcloud.link
239 onboarding.create_project.pat_help.bitbucketcloud.title
242 className="big-spacer-top big-spacer-bottom"
245 defaultMessage="onboarding.create_project.pat_help.bitbucketcloud.instructions"
246 id="onboarding.create_project.pat_help.instructions"
249 "alm": "onboarding.alm.bitbucketcloud",
255 className="text-middle"
259 className="spacer-right"
261 src="/images/alm/bitbucket.svg"
264 href="https://bitbucket.org/account/settings/app-passwords/new"
265 rel="noopener noreferrer"
268 onboarding.create_project.pat_help.bitbucketcloud.link
272 className="big-spacer-top big-spacer-bottom"
274 onboarding.create_project.pat_help.instructions2.bitbucketcloud
279 defaultMessage="onboarding.create_project.pat_help.bbs_permission_repos"
280 id="onboarding.create_project.pat_help.bbs_permission_repos"
284 onboarding.create_project.pat_help.read_permission
295 exports[`should render correctly: gitlab 1`] = `
297 className="display-flex-start"
301 onSubmit={[Function]}
306 onboarding.create_project.pat_form.title.gitlab
309 className="big-spacer-top big-spacer-bottom"
311 onboarding.create_project.pat_form.help.gitlab
314 error="onboarding.create_project.pat_incorrect.gitlab"
315 id="personal_access_token_validation"
318 label="onboarding.create_project.enter_pat"
323 className="input-super-large is-invalid"
324 id="personal_access_token"
326 onChange={[Function]}
332 error="onboarding.create_project.pat_incorrect.gitlab"
333 id="personal_access_token_submit"
344 className="spacer-left"
350 className="big-spacer-left width-50"
355 onboarding.create_project.pat_help.title
358 className="big-spacer-top big-spacer-bottom"
361 defaultMessage="onboarding.create_project.pat_help.instructions"
362 id="onboarding.create_project.pat_help.instructions"
365 "alm": "onboarding.alm.gitlab",
371 className="text-middle"
375 className="spacer-right"
377 src="/images/alm/gitlab.svg"
380 href="https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html"
381 rel="noopener noreferrer"
384 onboarding.create_project.pat_help.link
388 className="big-spacer-top big-spacer-bottom"
390 onboarding.create_project.pat_help.instructions2.gitlab
394 className="spacer-bottom"
397 onboarding.create_project.pat_help.gitlab.read_api_permission
405 exports[`should render correctly: gitlab with non-standard api path 1`] = `
407 className="display-flex-start"
411 onSubmit={[Function]}
416 onboarding.create_project.pat_form.title.gitlab
419 className="big-spacer-top big-spacer-bottom"
421 onboarding.create_project.pat_form.help.gitlab
424 error="onboarding.create_project.pat_incorrect.gitlab"
425 id="personal_access_token_validation"
428 label="onboarding.create_project.enter_pat"
433 className="input-super-large is-invalid"
434 id="personal_access_token"
436 onChange={[Function]}
442 error="onboarding.create_project.pat_incorrect.gitlab"
443 id="personal_access_token_submit"
454 className="spacer-left"
460 className="big-spacer-left width-50"
465 onboarding.create_project.pat_help.title
468 className="big-spacer-top big-spacer-bottom"
471 defaultMessage="onboarding.create_project.pat_help.instructions"
472 id="onboarding.create_project.pat_help.instructions"
475 "alm": "onboarding.alm.gitlab",
481 className="text-middle"
485 className="spacer-right"
487 src="/images/alm/gitlab.svg"
490 href="https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html"
491 rel="noopener noreferrer"
494 onboarding.create_project.pat_help.link
498 className="big-spacer-top big-spacer-bottom"
500 onboarding.create_project.pat_help.instructions2.gitlab
504 className="spacer-bottom"
507 onboarding.create_project.pat_help.gitlab.read_api_permission
515 exports[`should render correctly: no token needed 1`] = `
517 className="spacer-left"
522 exports[`should show error when issue: issue submitting token 1`] = `
524 className="display-flex-start"
528 onSubmit={[Function]}
533 onboarding.create_project.pat_form.title.bitbucketcloud
536 className="big-spacer-top big-spacer-bottom"
538 onboarding.create_project.pat_form.help.bitbucketcloud
541 id="enter_username_validation"
544 label="onboarding.create_project.enter_username"
549 className="input-super-large is-invalid"
553 onChange={[Function]}
559 error="default_error_message"
560 id="personal_access_token_validation"
563 label="onboarding.create_project.enter_pat.bitbucketcloud"
568 className="input-super-large is-invalid"
569 id="personal_access_token"
571 onChange={[Function]}
577 error="default_error_message"
578 id="personal_access_token_submit"
589 className="spacer-left"
595 className="big-spacer-left width-50"
600 onboarding.create_project.pat_help.instructions_username.bitbucketcloud.title
603 className="big-spacer-top big-spacer-bottom"
605 onboarding.create_project.pat_help.instructions_username.bitbucketcloud
608 className="text-middle big-spacer-bottom"
612 className="spacer-right"
614 src="/images/alm/bitbucket.svg"
617 href="https://bitbucket.org/account/settings/"
618 rel="noopener noreferrer"
621 onboarding.create_project.pat_help.instructions_username.bitbucketcloud.link
625 onboarding.create_project.pat_help.bitbucketcloud.title
628 className="big-spacer-top big-spacer-bottom"
631 defaultMessage="onboarding.create_project.pat_help.bitbucketcloud.instructions"
632 id="onboarding.create_project.pat_help.instructions"
635 "alm": "onboarding.alm.bitbucketcloud",
641 className="text-middle"
645 className="spacer-right"
647 src="/images/alm/bitbucket.svg"
650 href="https://bitbucket.org/account/settings/app-passwords/new"
651 rel="noopener noreferrer"
654 onboarding.create_project.pat_help.bitbucketcloud.link
658 className="big-spacer-top big-spacer-bottom"
660 onboarding.create_project.pat_help.instructions2.bitbucketcloud
665 defaultMessage="onboarding.create_project.pat_help.bbs_permission_repos"
666 id="onboarding.create_project.pat_help.bbs_permission_repos"
670 onboarding.create_project.pat_help.read_permission