From a21e5da264c70b8ab86c50c67e0bbf626598e246 Mon Sep 17 00:00:00 2001
From: Mathieu Suen <mathieu.suen@sonarsource.com>
Date: Mon, 21 Feb 2022 14:29:11 +0100
Subject: [NO JIRA] Migrate part of quality gates app to RTL

---
 .../sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx   | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx')

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}
               />
-- 
cgit v1.2.3

