// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`new_open_issues 1`] = `
-<DrilldownLink
+exports[`new_maintainability_rating 1`] = `
+<Link
className="overview-quality-gate-condition overview-quality-gate-condition-error overview-quality-gate-condition-leak"
- component="abcd-key"
- metric="new_open_issues"
- sinceLeakPeriod={true}
+ onlyActiveOnIndex={false}
+ style={Object {}}
+ to={
+ Object {
+ "pathname": "/project/issues",
+ "query": Object {
+ "id": "abcd-key",
+ "resolved": "false",
+ "sinceLeakPeriod": "true",
+ "types": "CODE_SMELL",
+ },
+ }
+ }
>
<div
className="overview-quality-gate-condition-container"
<Measure
measure={
Object {
- "leak": "10",
- "value": "10",
+ "leak": "3",
+ "value": "3",
}
}
metric={
Object {
- "key": "new_open_issues",
- "name": "new_open_issues",
- "type": "INT",
+ "key": "new_maintainability_rating",
+ "name": "new_maintainability_rating",
+ "type": "RATING",
}
}
/>
>
<IssueTypeIcon
className="little-spacer-right"
- query="new_open_issues"
+ query="new_maintainability_rating"
/>
- new_open_issues
+ new_maintainability_rating
</div>
<div
className="overview-quality-gate-threshold"
>
- quality_gates.operator.GT
+ quality_gates.operator.GT.rating
- 0
+ A
</div>
</div>
</div>
-</DrilldownLink>
+</Link>
`;
-exports[`new_reliability_rating 1`] = `
-<Link
+exports[`new_open_issues 1`] = `
+<DrilldownLink
className="overview-quality-gate-condition overview-quality-gate-condition-error overview-quality-gate-condition-leak"
- onlyActiveOnIndex={false}
- style={Object {}}
- to={
- Object {
- "pathname": "/project/issues",
- "query": Object {
- "id": "abcd-key",
- "resolved": "false",
- "severities": "BLOCKER,CRITICAL,MAJOR,MINOR",
- "sinceLeakPeriod": "true",
- "types": "BUG",
- },
- }
- }
+ component="abcd-key"
+ metric="new_open_issues"
+ sinceLeakPeriod={true}
>
<div
className="overview-quality-gate-condition-container"
<Measure
measure={
Object {
- "leak": "3",
- "value": "3",
+ "leak": "10",
+ "value": "10",
}
}
metric={
Object {
- "key": "new_reliability_rating",
- "name": "new_reliability_rating",
- "type": "RATING",
+ "key": "new_open_issues",
+ "name": "new_open_issues",
+ "type": "INT",
}
}
/>
>
<IssueTypeIcon
className="little-spacer-right"
- query="new_reliability_rating"
+ query="new_open_issues"
/>
- new_reliability_rating
+ new_open_issues
</div>
<div
className="overview-quality-gate-threshold"
>
- quality_gates.operator.GT.rating
+ quality_gates.operator.GT
- A
+ 0
</div>
</div>
</div>
-</Link>
+</DrilldownLink>
`;
-exports[`new_security_rating 1`] = `
+exports[`new_reliability_rating 1`] = `
<Link
className="overview-quality-gate-condition overview-quality-gate-condition-error overview-quality-gate-condition-leak"
onlyActiveOnIndex={false}
"resolved": "false",
"severities": "BLOCKER,CRITICAL,MAJOR,MINOR",
"sinceLeakPeriod": "true",
- "types": "VULNERABILITY",
+ "types": "BUG",
},
}
}
}
metric={
Object {
- "key": "new_security_rating",
- "name": "new_security_rating",
+ "key": "new_reliability_rating",
+ "name": "new_reliability_rating",
"type": "RATING",
}
}
>
<IssueTypeIcon
className="little-spacer-right"
- query="new_security_rating"
+ query="new_reliability_rating"
/>
- new_security_rating
+ new_reliability_rating
</div>
<div
className="overview-quality-gate-threshold"
</Link>
`;
-exports[`new_sqale_rating 1`] = `
+exports[`new_security_rating 1`] = `
<Link
className="overview-quality-gate-condition overview-quality-gate-condition-error overview-quality-gate-condition-leak"
onlyActiveOnIndex={false}
"query": Object {
"id": "abcd-key",
"resolved": "false",
+ "severities": "BLOCKER,CRITICAL,MAJOR,MINOR",
"sinceLeakPeriod": "true",
- "types": "CODE_SMELL",
+ "types": "VULNERABILITY",
},
}
}
}
metric={
Object {
- "key": "new_sqale_rating",
- "name": "new_sqale_rating",
+ "key": "new_security_rating",
+ "name": "new_security_rating",
"type": "RATING",
}
}
>
<IssueTypeIcon
className="little-spacer-right"
- query="new_sqale_rating"
+ query="new_security_rating"
/>
- new_sqale_rating
+ new_security_rating
</div>
<div
className="overview-quality-gate-threshold"