diff --git a/client/components/TestQueueRow/index.jsx b/client/components/TestQueueRow/index.jsx index a3f8601ec..0bfdff881 100644 --- a/client/components/TestQueueRow/index.jsx +++ b/client/components/TestQueueRow/index.jsx @@ -337,6 +337,17 @@ const TestQueueRow = ({ const { status, results } = evaluateStatusAndResults(); const nextReportStatus = evaluateNewReportStatus(); + const getRowId = tester => + [ + 'plan', + testPlanReport.id, + 'run', + currentUserTestPlanRun.id, + 'assignee', + tester.username, + 'completed' + ].join('-'); + return ( {renderAssignedUserToTestPlan()} @@ -378,19 +389,11 @@ const TestQueueRow = ({ // Allows ATs to read the number of // completed tests when tabbing to this // link - aria-describedby={ - `assignee-${tester.username}-` + - `completed` - } + aria-describedby={getRowId(tester)} > {tester.username} -
+
{`(${testResults.reduce( (acc, { completedAt }) => acc + (completedAt ? 1 : 0),