]> source.dussan.org Git - sonarqube.git/blob
d86ca3f98be3e39bb7e42b3cb251e0c1fda03493
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: branches not enabled 1`] = `
4 <Fragment>
5   <div
6     className="page-header big-spacer-bottom"
7   >
8     <h2
9       className="page-title"
10     >
11       onboarding.tutorial.with.jenkins.title
12     </h2>
13   </div>
14   <PreRequisitesStep
15     alm="bitbucket"
16     branchesEnabled={false}
17     finished={false}
18     onDone={[Function]}
19     onOpen={[Function]}
20     open={true}
21   />
22   <PipelineStep
23     alm="bitbucket"
24     finished={false}
25     onDone={[Function]}
26     onOpen={[Function]}
27     open={false}
28   />
29   <WebhookStep
30     alm="bitbucket"
31     branchesEnabled={false}
32     finished={false}
33     onDone={[Function]}
34     onOpen={[Function]}
35     open={false}
36     projectBinding={
37       {
38         "alm": "bitbucket",
39         "key": "foo",
40         "monorepo": true,
41         "repository": "PROJECT_KEY",
42         "slug": "repo-slug",
43       }
44     }
45   />
46   <withCLanguageFeature(JenkinsfileStep)
47     baseUrl=""
48     component={
49       {
50         "breadcrumbs": [],
51         "key": "my-project",
52         "name": "MyProject",
53         "qualifier": "TRK",
54         "qualityGate": {
55           "isDefault": true,
56           "key": "30",
57           "name": "Sonar way",
58         },
59         "qualityProfiles": [
60           {
61             "deleted": false,
62             "key": "my-qp",
63             "language": "ts",
64             "name": "Sonar way",
65           },
66         ],
67         "tags": [],
68       }
69     }
70     finished={false}
71     onDone={[Function]}
72     onOpen={[Function]}
73     open={false}
74   />
75   <AllSetStep
76     alm="bitbucket"
77     open={false}
78     stepNumber={4}
79     willRefreshAutomatically={true}
80   />
81 </Fragment>
82 `;
83
84 exports[`should render correctly: default 1`] = `
85 <Fragment>
86   <div
87     className="page-header big-spacer-bottom"
88   >
89     <h2
90       className="page-title"
91     >
92       onboarding.tutorial.with.jenkins.title
93     </h2>
94   </div>
95   <PreRequisitesStep
96     alm="bitbucket"
97     branchesEnabled={true}
98     finished={false}
99     onDone={[Function]}
100     onOpen={[Function]}
101     open={true}
102   />
103   <MultiBranchPipelineStep
104     alm="bitbucket"
105     finished={false}
106     onDone={[Function]}
107     onOpen={[Function]}
108     open={false}
109     projectBinding={
110       {
111         "alm": "bitbucket",
112         "key": "foo",
113         "monorepo": true,
114         "repository": "PROJECT_KEY",
115         "slug": "repo-slug",
116       }
117     }
118   />
119   <WebhookStep
120     alm="bitbucket"
121     branchesEnabled={true}
122     finished={false}
123     onDone={[Function]}
124     onOpen={[Function]}
125     open={false}
126     projectBinding={
127       {
128         "alm": "bitbucket",
129         "key": "foo",
130         "monorepo": true,
131         "repository": "PROJECT_KEY",
132         "slug": "repo-slug",
133       }
134     }
135   />
136   <withCLanguageFeature(JenkinsfileStep)
137     baseUrl=""
138     component={
139       {
140         "breadcrumbs": [],
141         "key": "my-project",
142         "name": "MyProject",
143         "qualifier": "TRK",
144         "qualityGate": {
145           "isDefault": true,
146           "key": "30",
147           "name": "Sonar way",
148         },
149         "qualityProfiles": [
150           {
151             "deleted": false,
152             "key": "my-qp",
153             "language": "ts",
154             "name": "Sonar way",
155           },
156         ],
157         "tags": [],
158       }
159     }
160     finished={false}
161     onDone={[Function]}
162     onOpen={[Function]}
163     open={false}
164   />
165   <AllSetStep
166     alm="bitbucket"
167     open={false}
168     stepNumber={4}
169     willRefreshAutomatically={true}
170   />
171 </Fragment>
172 `;
173
174 exports[`should render correctly: no project binding 1`] = `
175 <Fragment>
176   <div
177     className="page-header big-spacer-bottom"
178   >
179     <h2
180       className="page-title"
181     >
182       onboarding.tutorial.with.jenkins.title
183     </h2>
184   </div>
185   <SelectAlmStep
186     onCheck={[Function]}
187     onOpen={[Function]}
188     open={true}
189   />
190 </Fragment>
191 `;