1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correclty 1`] = `
6 className="overview-quality-gate-condition overview-quality-gate-condition-error"
8 inNewCodePeriod={false}
12 className="overview-quality-gate-condition-container display-flex-center"
15 className="overview-quality-gate-condition-value text-center spacer-right"
19 metricKey="open_issues"
26 className="overview-quality-gate-condition-metric little-spacer-right"
29 className="little-spacer-right"
32 metric.open_issues.name
35 className="little-spacer-top small text-muted"
37 quality_gates.operator.GT
47 exports[`should render correclty 2`] = `
50 className="overview-quality-gate-condition overview-quality-gate-condition-error"
54 "pathname": "/project/issues",
55 "search": "?resolved=false&types=BUG&severities=BLOCKER%2CCRITICAL%2CMAJOR%2CMINOR&id=abcd-key",
60 className="overview-quality-gate-condition-container display-flex-center"
63 className="overview-quality-gate-condition-value text-center spacer-right"
67 metricKey="reliability_rating"
74 className="overview-quality-gate-condition-metric little-spacer-right"
77 className="little-spacer-right"
78 query="reliability_rating"
80 metric.reliability_rating.name
83 className="little-spacer-top small text-muted"
85 quality_gates.operator.GT.rating
95 exports[`should render correclty 3`] = `
98 className="overview-quality-gate-condition overview-quality-gate-condition-error"
102 "pathname": "/project/issues",
103 "search": "?resolved=false&types=VULNERABILITY&severities=BLOCKER%2CCRITICAL%2CMAJOR%2CMINOR&id=abcd-key",
108 className="overview-quality-gate-condition-container display-flex-center"
111 className="overview-quality-gate-condition-value text-center spacer-right"
115 metricKey="security_rating"
122 className="overview-quality-gate-condition-metric little-spacer-right"
125 className="little-spacer-right"
126 query="security_rating"
128 metric.security_rating.name
131 className="little-spacer-top small text-muted"
133 quality_gates.operator.GT.rating
143 exports[`should render correclty 4`] = `
146 className="overview-quality-gate-condition overview-quality-gate-condition-error"
150 "pathname": "/project/issues",
151 "search": "?resolved=false&types=CODE_SMELL&id=abcd-key",
156 className="overview-quality-gate-condition-container display-flex-center"
159 className="overview-quality-gate-condition-value text-center spacer-right"
163 metricKey="sqale_rating"
170 className="overview-quality-gate-condition-metric little-spacer-right"
173 className="little-spacer-right"
176 metric.sqale_rating.name
179 className="little-spacer-top small text-muted"
181 quality_gates.operator.GT.rating
191 exports[`should render correclty 5`] = `
194 className="overview-quality-gate-condition overview-quality-gate-condition-error"
198 "pathname": "/project/issues",
199 "search": "?resolved=false&types=BUG&severities=BLOCKER%2CCRITICAL%2CMAJOR%2CMINOR&inNewCodePeriod=true&id=abcd-key",
204 className="overview-quality-gate-condition-container display-flex-center"
207 className="overview-quality-gate-condition-value text-center spacer-right"
211 metricKey="new_reliability_rating"
218 className="overview-quality-gate-condition-metric little-spacer-right"
221 className="little-spacer-right"
222 query="new_reliability_rating"
224 metric.new_reliability_rating.name
227 className="little-spacer-top small text-muted"
229 quality_gates.operator.GT.rating
239 exports[`should render correclty 6`] = `
242 className="overview-quality-gate-condition overview-quality-gate-condition-error"
246 "pathname": "/project/issues",
247 "search": "?resolved=false&types=VULNERABILITY&severities=BLOCKER%2CCRITICAL%2CMAJOR%2CMINOR&inNewCodePeriod=true&id=abcd-key",
252 className="overview-quality-gate-condition-container display-flex-center"
255 className="overview-quality-gate-condition-value text-center spacer-right"
259 metricKey="new_security_rating"
266 className="overview-quality-gate-condition-metric little-spacer-right"
269 className="little-spacer-right"
270 query="new_security_rating"
272 metric.new_security_rating.name
275 className="little-spacer-top small text-muted"
277 quality_gates.operator.GT.rating
287 exports[`should render correclty 7`] = `
290 className="overview-quality-gate-condition overview-quality-gate-condition-error"
294 "pathname": "/project/issues",
295 "search": "?resolved=false&types=CODE_SMELL&inNewCodePeriod=true&id=abcd-key",
300 className="overview-quality-gate-condition-container display-flex-center"
303 className="overview-quality-gate-condition-value text-center spacer-right"
307 metricKey="new_maintainability_rating"
314 className="overview-quality-gate-condition-metric little-spacer-right"
317 className="little-spacer-right"
318 query="new_maintainability_rating"
320 metric.new_maintainability_rating.name
323 className="little-spacer-top small text-muted"
325 quality_gates.operator.GT.rating
335 exports[`should render correclty 8`] = `
338 className="overview-quality-gate-condition overview-quality-gate-condition-error"
342 "pathname": "/security_hotspots",
343 "search": "?id=abcd-key",
348 className="overview-quality-gate-condition-container display-flex-center"
351 className="overview-quality-gate-condition-value text-center spacer-right"
355 metricKey="security_hotspots_reviewed"
362 className="overview-quality-gate-condition-metric little-spacer-right"
365 className="little-spacer-right"
366 query="security_hotspots_reviewed"
368 metric.security_hotspots_reviewed.name
371 className="little-spacer-top small text-muted"
373 quality_gates.operator.GT.rating
383 exports[`should render correclty 9`] = `
386 className="overview-quality-gate-condition overview-quality-gate-condition-error"
390 "pathname": "/security_hotspots",
391 "search": "?id=abcd-key&inNewCodePeriod=true",
396 className="overview-quality-gate-condition-container display-flex-center"
399 className="overview-quality-gate-condition-value text-center spacer-right"
403 metricKey="new_security_hotspots_reviewed"
410 className="overview-quality-gate-condition-metric little-spacer-right"
413 className="little-spacer-right"
414 query="new_security_hotspots_reviewed"
416 metric.new_security_hotspots_reviewed.name
419 className="little-spacer-top small text-muted"
421 quality_gates.operator.GT.rating
431 exports[`should work with branch 1`] = `
434 className="overview-quality-gate-condition overview-quality-gate-condition-error"
438 "pathname": "/project/issues",
439 "search": "?resolved=false&branch=branch-6.7&types=CODE_SMELL&inNewCodePeriod=true&id=abcd-key",
444 className="overview-quality-gate-condition-container display-flex-center"
447 className="overview-quality-gate-condition-value text-center spacer-right"
451 metricKey="new_maintainability_rating"
458 className="overview-quality-gate-condition-metric little-spacer-right"
461 className="little-spacer-right"
462 query="new_maintainability_rating"
464 metric.new_maintainability_rating.name
467 className="little-spacer-top small text-muted"
469 quality_gates.operator.GT.rating