]> source.dussan.org Git - sonarqube.git/blob
d0d2a7237376219409ac86b81ad076ae180c9047
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: invalid settings 1`] = `
4 <Fragment>
5   <CreateProjectPageHeader
6     title={
7       <span
8         className="text-middle"
9       >
10         <img
11           alt=""
12           className="spacer-right"
13           height="24"
14           src="/images/alm/gitlab.svg"
15         />
16         onboarding.create_project.gitlab.title
17       </span>
18     }
19   />
20   <WrongBindingCountAlert
21     alm="gitlab"
22     canAdmin={false}
23   />
24 </Fragment>
25 `;
26
27 exports[`should render correctly: invalid settings, admin user 1`] = `
28 <Fragment>
29   <CreateProjectPageHeader
30     title={
31       <span
32         className="text-middle"
33       >
34         <img
35           alt=""
36           className="spacer-right"
37           height="24"
38           src="/images/alm/gitlab.svg"
39         />
40         onboarding.create_project.gitlab.title
41       </span>
42     }
43   />
44   <WrongBindingCountAlert
45     alm="gitlab"
46     canAdmin={true}
47   />
48 </Fragment>
49 `;
50
51 exports[`should render correctly: loading 1`] = `
52 <Fragment>
53   <CreateProjectPageHeader
54     title={
55       <span
56         className="text-middle"
57       >
58         <img
59           alt=""
60           className="spacer-right"
61           height="24"
62           src="/images/alm/gitlab.svg"
63         />
64         onboarding.create_project.gitlab.title
65       </span>
66     }
67   />
68   <i
69     className="spinner"
70   />
71 </Fragment>
72 `;
73
74 exports[`should render correctly: pat form 1`] = `
75 <Fragment>
76   <CreateProjectPageHeader
77     title={
78       <span
79         className="text-middle"
80       >
81         <img
82           alt=""
83           className="spacer-right"
84           height="24"
85           src="/images/alm/gitlab.svg"
86         />
87         onboarding.create_project.gitlab.title
88       </span>
89     }
90   />
91   <PersonalAccessTokenForm
92     almSetting={
93       Object {
94         "alm": "gitlab",
95         "key": "key",
96       }
97     }
98     onPersonalAccessTokenCreate={[MockFunction]}
99     submitting={false}
100     validationFailed={false}
101   />
102 </Fragment>
103 `;