]> source.dussan.org Git - sonarqube.git/blob
eb03b51d1d5997f665511756253a322fbc0da021
[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 `;
104
105 exports[`should render correctly: project selection form 1`] = `
106 <Fragment>
107   <CreateProjectPageHeader
108     title={
109       <span
110         className="text-middle"
111       >
112         <img
113           alt=""
114           className="spacer-right"
115           height="24"
116           src="/images/alm/gitlab.svg"
117         />
118         onboarding.create_project.gitlab.title
119       </span>
120     }
121   />
122   <GitlabProjectSelectionForm
123     loadingMore={false}
124     onLoadMore={[MockFunction]}
125     onSearch={[MockFunction]}
126     projectsPaging={
127       Object {
128         "pageIndex": 1,
129         "pageSize": 30,
130         "total": 0,
131       }
132     }
133     searchQuery=""
134     searching={false}
135   />
136 </Fragment>
137 `;