1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correclty 1`] = `
5 className="overview-quality-gate-condition overview-quality-gate-condition-error"
8 sinceLeakPeriod={false}
11 className="overview-quality-gate-condition-container display-flex-center"
14 className="overview-quality-gate-condition-value text-center spacer-right"
18 metricKey="open_issues"
25 className="overview-quality-gate-condition-metric little-spacer-right"
28 className="little-spacer-right"
31 metric.open_issues.name
34 className="little-spacer-top small text-muted"
36 quality_gates.operator.GT
45 exports[`should render correclty 2`] = `
47 className="overview-quality-gate-condition overview-quality-gate-condition-error"
51 "pathname": "/project/issues",
52 "search": "?resolved=false&types=BUG&severities=BLOCKER%2CCRITICAL%2CMAJOR%2CMINOR&id=abcd-key",
57 className="overview-quality-gate-condition-container display-flex-center"
60 className="overview-quality-gate-condition-value text-center spacer-right"
64 metricKey="reliability_rating"
71 className="overview-quality-gate-condition-metric little-spacer-right"
74 className="little-spacer-right"
75 query="reliability_rating"
77 metric.reliability_rating.name
80 className="little-spacer-top small text-muted"
82 quality_gates.operator.GT.rating
91 exports[`should render correclty 3`] = `
93 className="overview-quality-gate-condition overview-quality-gate-condition-error"
97 "pathname": "/project/issues",
98 "search": "?resolved=false&types=VULNERABILITY&severities=BLOCKER%2CCRITICAL%2CMAJOR%2CMINOR&id=abcd-key",
103 className="overview-quality-gate-condition-container display-flex-center"
106 className="overview-quality-gate-condition-value text-center spacer-right"
110 metricKey="security_rating"
117 className="overview-quality-gate-condition-metric little-spacer-right"
120 className="little-spacer-right"
121 query="security_rating"
123 metric.security_rating.name
126 className="little-spacer-top small text-muted"
128 quality_gates.operator.GT.rating
137 exports[`should render correclty 4`] = `
139 className="overview-quality-gate-condition overview-quality-gate-condition-error"
143 "pathname": "/project/issues",
144 "search": "?resolved=false&types=CODE_SMELL&id=abcd-key",
149 className="overview-quality-gate-condition-container display-flex-center"
152 className="overview-quality-gate-condition-value text-center spacer-right"
156 metricKey="sqale_rating"
163 className="overview-quality-gate-condition-metric little-spacer-right"
166 className="little-spacer-right"
169 metric.sqale_rating.name
172 className="little-spacer-top small text-muted"
174 quality_gates.operator.GT.rating
183 exports[`should render correclty 5`] = `
185 className="overview-quality-gate-condition overview-quality-gate-condition-error"
189 "pathname": "/project/issues",
190 "search": "?resolved=false&types=BUG&severities=BLOCKER%2CCRITICAL%2CMAJOR%2CMINOR&sinceLeakPeriod=true&id=abcd-key",
195 className="overview-quality-gate-condition-container display-flex-center"
198 className="overview-quality-gate-condition-value text-center spacer-right"
202 metricKey="new_reliability_rating"
209 className="overview-quality-gate-condition-metric little-spacer-right"
212 className="little-spacer-right"
213 query="new_reliability_rating"
215 metric.new_reliability_rating.name
218 className="little-spacer-top small text-muted"
220 quality_gates.operator.GT.rating
229 exports[`should render correclty 6`] = `
231 className="overview-quality-gate-condition overview-quality-gate-condition-error"
235 "pathname": "/project/issues",
236 "search": "?resolved=false&types=VULNERABILITY&severities=BLOCKER%2CCRITICAL%2CMAJOR%2CMINOR&sinceLeakPeriod=true&id=abcd-key",
241 className="overview-quality-gate-condition-container display-flex-center"
244 className="overview-quality-gate-condition-value text-center spacer-right"
248 metricKey="new_security_rating"
255 className="overview-quality-gate-condition-metric little-spacer-right"
258 className="little-spacer-right"
259 query="new_security_rating"
261 metric.new_security_rating.name
264 className="little-spacer-top small text-muted"
266 quality_gates.operator.GT.rating
275 exports[`should render correclty 7`] = `
277 className="overview-quality-gate-condition overview-quality-gate-condition-error"
281 "pathname": "/project/issues",
282 "search": "?resolved=false&types=CODE_SMELL&sinceLeakPeriod=true&id=abcd-key",
287 className="overview-quality-gate-condition-container display-flex-center"
290 className="overview-quality-gate-condition-value text-center spacer-right"
294 metricKey="new_maintainability_rating"
301 className="overview-quality-gate-condition-metric little-spacer-right"
304 className="little-spacer-right"
305 query="new_maintainability_rating"
307 metric.new_maintainability_rating.name
310 className="little-spacer-top small text-muted"
312 quality_gates.operator.GT.rating
321 exports[`should render correclty 8`] = `
323 className="overview-quality-gate-condition overview-quality-gate-condition-error"
327 "pathname": "/security_hotspots",
328 "search": "?id=abcd-key",
333 className="overview-quality-gate-condition-container display-flex-center"
336 className="overview-quality-gate-condition-value text-center spacer-right"
340 metricKey="security_hotspots_reviewed"
347 className="overview-quality-gate-condition-metric little-spacer-right"
350 className="little-spacer-right"
351 query="security_hotspots_reviewed"
353 metric.security_hotspots_reviewed.name
356 className="little-spacer-top small text-muted"
358 quality_gates.operator.GT.rating
367 exports[`should render correclty 9`] = `
369 className="overview-quality-gate-condition overview-quality-gate-condition-error"
373 "pathname": "/security_hotspots",
374 "search": "?id=abcd-key&sinceLeakPeriod=true",
379 className="overview-quality-gate-condition-container display-flex-center"
382 className="overview-quality-gate-condition-value text-center spacer-right"
386 metricKey="new_security_hotspots_reviewed"
393 className="overview-quality-gate-condition-metric little-spacer-right"
396 className="little-spacer-right"
397 query="new_security_hotspots_reviewed"
399 metric.new_security_hotspots_reviewed.name
402 className="little-spacer-top small text-muted"
404 quality_gates.operator.GT.rating
413 exports[`should work with branch 1`] = `
415 className="overview-quality-gate-condition overview-quality-gate-condition-error"
419 "pathname": "/project/issues",
420 "search": "?resolved=false&branch=branch-6.7&types=CODE_SMELL&sinceLeakPeriod=true&id=abcd-key",
425 className="overview-quality-gate-condition-container display-flex-center"
428 className="overview-quality-gate-condition-value text-center spacer-right"
432 metricKey="new_maintainability_rating"
439 className="overview-quality-gate-condition-metric little-spacer-right"
442 className="little-spacer-right"
443 query="new_maintainability_rating"
445 metric.new_maintainability_rating.name
448 className="little-spacer-top small text-muted"
450 quality_gates.operator.GT.rating