1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly: bitbucket 1`] = `
5 className="display-flex-start"
13 onboarding.create_project.pat_form.title.bitbucket
16 className="big-spacer-top big-spacer-bottom"
18 onboarding.create_project.pat_form.help.bitbucket
21 id="personal_access_token"
24 label="onboarding.create_project.enter_pat"
29 className="input-super-large"
30 id="personal_access_token"
32 name="personal_access_token"
43 className="spacer-left"
49 className="big-spacer-left big-spacer-top"
54 onboarding.create_project.pat_help.title
57 className="big-spacer-top big-spacer-bottom"
60 defaultMessage="onboarding.create_project.pat_help.instructions"
61 id="onboarding.create_project.pat_help.instructions"
64 "alm": "onboarding.alm.bitbucket",
70 className="text-middle"
74 className="spacer-right"
76 src="/images/alm/bitbucket.svg"
79 href="http://www.example.com/plugins/servlet/access-tokens/add"
80 rel="noopener noreferrer"
83 onboarding.create_project.pat_help.link
87 className="big-spacer-top big-spacer-bottom"
89 onboarding.create_project.pat_help.instructions2.bitbucket
94 defaultMessage="onboarding.create_project.pat_help.bbs_permission_projects"
95 id="onboarding.create_project.pat_help.bbs_permission_projects"
99 onboarding.create_project.pat_help.read_permission
107 defaultMessage="onboarding.create_project.pat_help.bbs_permission_repos"
108 id="onboarding.create_project.pat_help.bbs_permission_repos"
112 onboarding.create_project.pat_help.read_permission
123 exports[`should render correctly: gitlab 1`] = `
125 className="display-flex-start"
128 onSubmit={[Function]}
133 onboarding.create_project.pat_form.title.gitlab
136 className="big-spacer-top big-spacer-bottom"
138 onboarding.create_project.pat_form.help.gitlab
141 id="personal_access_token"
144 label="onboarding.create_project.enter_pat"
149 className="input-super-large"
150 id="personal_access_token"
152 name="personal_access_token"
153 onChange={[Function]}
163 className="spacer-left"
169 className="big-spacer-left big-spacer-top"
174 onboarding.create_project.pat_help.title
177 className="big-spacer-top big-spacer-bottom"
180 defaultMessage="onboarding.create_project.pat_help.instructions"
181 id="onboarding.create_project.pat_help.instructions"
184 "alm": "onboarding.alm.gitlab",
190 className="text-middle"
194 className="spacer-right"
196 src="/images/alm/gitlab.svg"
199 href="https://gitlab.com/profile/personal_access_tokens"
200 rel="noopener noreferrer"
203 onboarding.create_project.pat_help.link
207 className="big-spacer-top big-spacer-bottom"
209 onboarding.create_project.pat_help.instructions2.gitlab
213 className="spacer-bottom"
216 onboarding.create_project.pat_help.gitlab.read_api_permission
224 exports[`should render correctly: gitlab with non-standard api path 1`] = `
226 className="display-flex-start"
229 onSubmit={[Function]}
234 onboarding.create_project.pat_form.title.gitlab
237 className="big-spacer-top big-spacer-bottom"
239 onboarding.create_project.pat_form.help.gitlab
242 id="personal_access_token"
245 label="onboarding.create_project.enter_pat"
250 className="input-super-large"
251 id="personal_access_token"
253 name="personal_access_token"
254 onChange={[Function]}
264 className="spacer-left"
270 className="big-spacer-left big-spacer-top"
275 onboarding.create_project.pat_help.title
278 className="big-spacer-top big-spacer-bottom"
281 defaultMessage="onboarding.create_project.pat_help.instructions"
282 id="onboarding.create_project.pat_help.instructions"
285 "alm": "onboarding.alm.gitlab",
291 className="text-middle"
295 className="spacer-right"
297 src="/images/alm/gitlab.svg"
300 href="https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#creating-a-personal-access-token"
301 rel="noopener noreferrer"
304 onboarding.create_project.pat_help.link
308 className="big-spacer-top big-spacer-bottom"
310 onboarding.create_project.pat_help.instructions2.gitlab
314 className="spacer-bottom"
317 onboarding.create_project.pat_help.gitlab.read_api_permission
325 exports[`should render correctly: submitting 1`] = `
327 className="display-flex-start"
330 onSubmit={[Function]}
335 onboarding.create_project.pat_form.title.bitbucket
338 className="big-spacer-top big-spacer-bottom"
340 onboarding.create_project.pat_form.help.bitbucket
343 id="personal_access_token"
346 label="onboarding.create_project.enter_pat"
351 className="input-super-large"
352 id="personal_access_token"
354 name="personal_access_token"
355 onChange={[Function]}
365 className="spacer-left"
371 className="big-spacer-left big-spacer-top"
376 onboarding.create_project.pat_help.title
379 className="big-spacer-top big-spacer-bottom"
382 defaultMessage="onboarding.create_project.pat_help.instructions"
383 id="onboarding.create_project.pat_help.instructions"
386 "alm": "onboarding.alm.bitbucket",
392 className="text-middle"
396 className="spacer-right"
398 src="/images/alm/bitbucket.svg"
401 href="http://www.example.com/plugins/servlet/access-tokens/add"
402 rel="noopener noreferrer"
405 onboarding.create_project.pat_help.link
409 className="big-spacer-top big-spacer-bottom"
411 onboarding.create_project.pat_help.instructions2.bitbucket
416 defaultMessage="onboarding.create_project.pat_help.bbs_permission_projects"
417 id="onboarding.create_project.pat_help.bbs_permission_projects"
421 onboarding.create_project.pat_help.read_permission
429 defaultMessage="onboarding.create_project.pat_help.bbs_permission_repos"
430 id="onboarding.create_project.pat_help.bbs_permission_repos"
434 onboarding.create_project.pat_help.read_permission
445 exports[`should render correctly: validation failed 1`] = `
447 className="display-flex-start"
450 onSubmit={[Function]}
455 onboarding.create_project.pat_form.title.bitbucket
458 className="big-spacer-top big-spacer-bottom"
460 onboarding.create_project.pat_form.help.bitbucket
463 error="onboarding.create_project.pat_incorrect"
464 id="personal_access_token"
467 label="onboarding.create_project.enter_pat"
472 className="input-super-large is-invalid"
473 id="personal_access_token"
475 name="personal_access_token"
476 onChange={[Function]}
486 className="spacer-left"
492 className="big-spacer-left big-spacer-top"
497 onboarding.create_project.pat_help.title
500 className="big-spacer-top big-spacer-bottom"
503 defaultMessage="onboarding.create_project.pat_help.instructions"
504 id="onboarding.create_project.pat_help.instructions"
507 "alm": "onboarding.alm.bitbucket",
513 className="text-middle"
517 className="spacer-right"
519 src="/images/alm/bitbucket.svg"
522 href="http://www.example.com/plugins/servlet/access-tokens/add"
523 rel="noopener noreferrer"
526 onboarding.create_project.pat_help.link
530 className="big-spacer-top big-spacer-bottom"
532 onboarding.create_project.pat_help.instructions2.bitbucket
537 defaultMessage="onboarding.create_project.pat_help.bbs_permission_projects"
538 id="onboarding.create_project.pat_help.bbs_permission_projects"
542 onboarding.create_project.pat_help.read_permission
550 defaultMessage="onboarding.create_project.pat_help.bbs_permission_repos"
551 id="onboarding.create_project.pat_help.bbs_permission_repos"
555 onboarding.create_project.pat_help.read_permission