]> source.dussan.org Git - sonarqube.git/blob
e37bd585c1bd1f31644943046ae83c92a134905e
[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     <CheckIcon
11       className="little-spacer-right text-text-top"
12       size={14}
13     />
14     marketplace.installed
15   </span>
16   <div>
17     <h3
18       className="spacer-bottom"
19     >
20       Foo
21     </h3>
22     <p>
23       Foo desc
24     </p>
25   </div>
26   <div
27     className="marketplace-edition-action spacer-top"
28   >
29     <a
30       href="more_url"
31       target="_blank"
32     >
33       marketplace.learn_more
34     </a>
35     <button
36       className="button-red"
37       disabled={true}
38     >
39       marketplace.uninstall
40     </button>
41   </div>
42 </div>
43 `;
44
45 exports[`should disable uninstall button 1`] = `
46 <div
47   className="boxed-group boxed-group-inner marketplace-edition"
48 >
49   <span
50     className="marketplace-edition-badge badge badge-normal-size"
51   >
52     marketplace.installing
53   </span>
54   <div>
55     <h3
56       className="spacer-bottom"
57     >
58       Foo
59     </h3>
60     <p>
61       Foo desc
62     </p>
63   </div>
64   <div
65     className="marketplace-edition-action spacer-top"
66   >
67     <a
68       href="more_url"
69       target="_blank"
70     >
71       marketplace.learn_more
72     </a>
73     <button
74       disabled={true}
75       onClick={[Function]}
76     >
77       marketplace.install
78     </button>
79   </div>
80 </div>
81 `;
82
83 exports[`should display installed badge 1`] = `
84 <div
85   className="boxed-group boxed-group-inner marketplace-edition"
86 >
87   <span
88     className="marketplace-edition-badge badge badge-normal-size"
89   >
90     <CheckIcon
91       className="little-spacer-right text-text-top"
92       size={14}
93     />
94     marketplace.installed
95   </span>
96   <div>
97     <h3
98       className="spacer-bottom"
99     >
100       Foo
101     </h3>
102     <p>
103       Foo desc
104     </p>
105   </div>
106   <div
107     className="marketplace-edition-action spacer-top"
108   >
109     <a
110       href="more_url"
111       target="_blank"
112     >
113       marketplace.learn_more
114     </a>
115     <button
116       className="button-red"
117       disabled={false}
118     >
119       marketplace.uninstall
120     </button>
121   </div>
122 </div>
123 `;
124
125 exports[`should display installing badge 1`] = `
126 <div
127   className="boxed-group boxed-group-inner marketplace-edition"
128 >
129   <span
130     className="marketplace-edition-badge badge badge-normal-size"
131   >
132     marketplace.installing
133   </span>
134   <div>
135     <h3
136       className="spacer-bottom"
137     >
138       Foo
139     </h3>
140     <p>
141       Foo desc
142     </p>
143   </div>
144   <div
145     className="marketplace-edition-action spacer-top"
146   >
147     <a
148       href="more_url"
149       target="_blank"
150     >
151       marketplace.learn_more
152     </a>
153     <button
154       className="button-red"
155       disabled={false}
156     >
157       marketplace.uninstall
158     </button>
159   </div>
160 </div>
161 `;
162
163 exports[`should display the edition 1`] = `
164 <div
165   className="boxed-group boxed-group-inner marketplace-edition"
166 >
167   <div>
168     <h3
169       className="spacer-bottom"
170     >
171       Foo
172     </h3>
173     <p>
174       Foo desc
175     </p>
176   </div>
177   <div
178     className="marketplace-edition-action spacer-top"
179   >
180     <a
181       href="more_url"
182       target="_blank"
183     >
184       marketplace.learn_more
185     </a>
186     <button
187       disabled={false}
188       onClick={[Function]}
189     >
190       marketplace.install
191     </button>
192   </div>
193 </div>
194 `;