1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly: default 1`] = `
5 <CreateProjectPageHeader
8 className="display-flex-center pull-right"
11 className="spacer-right"
16 className="button-large button-primary"
18 onClick={[MockFunction]}
20 onboarding.create_project.import_selected_repo
26 className="text-middle"
30 className="spacer-right"
32 src="/images/alm/bitbucket.svg"
34 onboarding.create_project.from_bbs
38 <BitbucketImportRepositoryForm
39 disableRepositories={false}
40 onSearch={[MockFunction]}
41 onSelectRepository={[MockFunction]}
46 "repositories": Array [
50 "projectKey": "project",
51 "slug": "project__repo",
71 exports[`should render correctly: importing 1`] = `
73 <CreateProjectPageHeader
76 className="display-flex-center pull-right"
79 className="spacer-right"
84 className="button-large button-primary"
86 onClick={[MockFunction]}
88 onboarding.create_project.import_selected_repo
94 className="text-middle"
98 className="spacer-right"
100 src="/images/alm/bitbucket.svg"
102 onboarding.create_project.from_bbs
106 <BitbucketImportRepositoryForm
107 disableRepositories={true}
108 onSearch={[MockFunction]}
109 onSelectRepository={[MockFunction]}
110 projectRepositories={
114 "repositories": Array [
118 "projectKey": "project",
119 "slug": "project__repo",
139 exports[`should render correctly: invalid config, admin user 1`] = `
141 <CreateProjectPageHeader
144 className="display-flex-center pull-right"
147 className="spacer-right"
152 className="button-large button-primary"
154 onClick={[MockFunction]}
156 onboarding.create_project.import_selected_repo
162 className="text-middle"
166 className="spacer-right"
168 src="/images/alm/bitbucket.svg"
170 onboarding.create_project.from_bbs
178 defaultMessage="onboarding.create_project.no_bbs_binding.admin"
179 id="onboarding.create_project.no_bbs_binding.admin"
183 onlyActiveOnIndex={false}
187 "pathname": "/admin/settings",
189 "category": "almintegration",
203 exports[`should render correctly: invalid config, regular user 1`] = `
205 <CreateProjectPageHeader
208 className="display-flex-center pull-right"
211 className="spacer-right"
216 className="button-large button-primary"
218 onClick={[MockFunction]}
220 onboarding.create_project.import_selected_repo
226 className="text-middle"
230 className="spacer-right"
232 src="/images/alm/bitbucket.svg"
234 onboarding.create_project.from_bbs
241 onboarding.create_project.no_bbs_binding
246 exports[`should render correctly: loading 1`] = `
248 <CreateProjectPageHeader
251 className="display-flex-center pull-right"
254 className="spacer-right"
259 className="button-large button-primary"
261 onClick={[MockFunction]}
263 onboarding.create_project.import_selected_repo
269 className="text-middle"
273 className="spacer-right"
275 src="/images/alm/bitbucket.svg"
277 onboarding.create_project.from_bbs
287 exports[`should render correctly: pat form 1`] = `
289 <CreateProjectPageHeader
290 additionalActions={false}
293 className="text-middle"
297 className="spacer-right"
299 src="/images/alm/bitbucket.svg"
301 onboarding.create_project.from_bbs
305 <BitbucketPersonalAccessTokenForm
312 onPersonalAccessTokenCreate={[MockFunction]}
313 validationFailed={false}
318 exports[`should render correctly: selected repo 1`] = `
320 <CreateProjectPageHeader
323 className="display-flex-center pull-right"
326 className="spacer-right"
331 className="button-large button-primary"
333 onClick={[MockFunction]}
335 onboarding.create_project.import_selected_repo
341 className="text-middle"
345 className="spacer-right"
347 src="/images/alm/bitbucket.svg"
349 onboarding.create_project.from_bbs
353 <BitbucketImportRepositoryForm
354 disableRepositories={false}
355 onSearch={[MockFunction]}
356 onSelectRepository={[MockFunction]}
357 projectRepositories={
361 "repositories": Array [
365 "projectKey": "project",
366 "slug": "project__repo",
386 "projectKey": "project",
387 "slug": "project__repo",