]> source.dussan.org Git - sonarqube.git/blob
7b8a8eaa902327d4206a8a6b36dc379c93482a57
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should disable install button 1`] = `
4 <div
5   className="boxed-group boxed-group-inner marketplace-edition"
6 >
7   <span
8     className="marketplace-edition-badge badge badge-normal-size"
9   >
10     marketplace.installing
11   </span>
12   <div>
13     <h3
14       className="spacer-bottom"
15     >
16       Foo
17     </h3>
18     <p>
19       Foo desc
20     </p>
21   </div>
22   <div
23     className="marketplace-edition-action spacer-top"
24   >
25     <a
26       href="more_url"
27       target="_blank"
28     >
29       marketplace.learn_more
30     </a>
31     <button
32       disabled={true}
33       onClick={[Function]}
34     >
35       marketplace.install
36     </button>
37   </div>
38 </div>
39 `;
40
41 exports[`should disable install button 2`] = `
42 <div
43   className="boxed-group boxed-group-inner marketplace-edition"
44 >
45   <span
46     className="marketplace-edition-badge badge badge-normal-size"
47   >
48     marketplace.pending
49   </span>
50   <div>
51     <h3
52       className="spacer-bottom"
53     >
54       Foo
55     </h3>
56     <p>
57       Foo desc
58     </p>
59   </div>
60   <div
61     className="marketplace-edition-action spacer-top"
62   >
63     <a
64       href="more_url"
65       target="_blank"
66     >
67       marketplace.learn_more
68     </a>
69     <button
70       disabled={true}
71       onClick={[Function]}
72     >
73       marketplace.install
74     </button>
75   </div>
76 </div>
77 `;
78
79 exports[`should disable uninstall button 1`] = `
80 <div
81   className="boxed-group boxed-group-inner marketplace-edition"
82 >
83   <span
84     className="marketplace-edition-badge badge badge-normal-size"
85   >
86     marketplace.installing
87   </span>
88   <div>
89     <h3
90       className="spacer-bottom"
91     >
92       Foo
93     </h3>
94     <p>
95       Foo desc
96     </p>
97   </div>
98   <div
99     className="marketplace-edition-action spacer-top"
100   >
101     <a
102       href="more_url"
103       target="_blank"
104     >
105       marketplace.learn_more
106     </a>
107     <button
108       className="button-red"
109       disabled={true}
110       onClick={[Function]}
111     >
112       marketplace.uninstall
113     </button>
114   </div>
115 </div>
116 `;
117
118 exports[`should display installed badge 1`] = `
119 <div
120   className="boxed-group boxed-group-inner marketplace-edition"
121 >
122   <span
123     className="marketplace-edition-badge badge badge-normal-size"
124   >
125     <CheckIcon
126       className="little-spacer-right text-text-top"
127       size={14}
128     />
129     marketplace.installed
130   </span>
131   <div>
132     <h3
133       className="spacer-bottom"
134     >
135       Foo
136     </h3>
137     <p>
138       Foo desc
139     </p>
140   </div>
141   <div
142     className="marketplace-edition-action spacer-top"
143   >
144     <a
145       href="more_url"
146       target="_blank"
147     >
148       marketplace.learn_more
149     </a>
150     <button
151       className="button-red"
152       disabled={false}
153       onClick={[Function]}
154     >
155       marketplace.uninstall
156     </button>
157   </div>
158 </div>
159 `;
160
161 exports[`should display installing badge 1`] = `
162 <div
163   className="boxed-group boxed-group-inner marketplace-edition"
164 >
165   <span
166     className="marketplace-edition-badge badge badge-normal-size"
167   >
168     marketplace.installing
169   </span>
170   <div>
171     <h3
172       className="spacer-bottom"
173     >
174       Foo
175     </h3>
176     <p>
177       Foo desc
178     </p>
179   </div>
180   <div
181     className="marketplace-edition-action spacer-top"
182   >
183     <a
184       href="more_url"
185       target="_blank"
186     >
187       marketplace.learn_more
188     </a>
189     <button
190       className="button-red"
191       disabled={true}
192       onClick={[Function]}
193     >
194       marketplace.uninstall
195     </button>
196   </div>
197 </div>
198 `;
199
200 exports[`should display pending badge 1`] = `
201 <div
202   className="boxed-group boxed-group-inner marketplace-edition"
203 >
204   <span
205     className="marketplace-edition-badge badge badge-normal-size"
206   >
207     marketplace.pending
208   </span>
209   <div>
210     <h3
211       className="spacer-bottom"
212     >
213       Foo
214     </h3>
215     <p>
216       Foo desc
217     </p>
218   </div>
219   <div
220     className="marketplace-edition-action spacer-top"
221   >
222     <a
223       href="more_url"
224       target="_blank"
225     >
226       marketplace.learn_more
227     </a>
228     <button
229       disabled={true}
230       onClick={[Function]}
231     >
232       marketplace.install
233     </button>
234   </div>
235 </div>
236 `;
237
238 exports[`should display the edition 1`] = `
239 <div
240   className="boxed-group boxed-group-inner marketplace-edition"
241 >
242   <div>
243     <h3
244       className="spacer-bottom"
245     >
246       Foo
247     </h3>
248     <p>
249       Foo desc
250     </p>
251   </div>
252   <div
253     className="marketplace-edition-action spacer-top"
254   >
255     <a
256       href="more_url"
257       target="_blank"
258     >
259       marketplace.learn_more
260     </a>
261     <button
262       disabled={false}
263       onClick={[Function]}
264     >
265       marketplace.install
266     </button>
267   </div>
268 </div>
269 `;