aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx
diff options
context:
space:
mode:
authorMathieu Suen <mathieu.suen@sonarsource.com>2022-02-21 14:29:11 +0100
committersonartech <sonartech@sonarsource.com>2022-03-11 10:30:55 +0000
commita21e5da264c70b8ab86c50c67e0bbf626598e246 (patch)
treeba355522aab63b671c5c4dbb00c3e0f92ec0fd69 /server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx
parent430ffc7c4f96676636d3f03e47e90035f3c9d3e5 (diff)
downloadsonarqube-a21e5da264c70b8ab86c50c67e0bbf626598e246.tar.gz
sonarqube-a21e5da264c70b8ab86c50c67e0bbf626598e246.zip
[NO JIRA] Migrate part of quality gates app to RTL
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx b/server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx
index 4f1b4203e15..97d3834a76b 100644
--- a/server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx
+++ b/server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx
@@ -108,12 +108,14 @@ export class ConditionComponent extends React.PureComponent<Props, State> {
<>
<td className="text-center thin">
<EditButton
+ aria-label={translateWithParameters('quality_gates.condition.edit', metric.name)}
data-test="quality-gates__condition-update"
onClick={this.handleOpenUpdate}
/>
</td>
<td className="text-center thin">
<DeleteButton
+ aria-label={translateWithParameters('quality_gates.condition.delete', metric.name)}
data-test="quality-gates__condition-delete"
onClick={this.handleDeleteClick}
/>