From 8e2b94b866bd7c0885501d3f8c95fd2696300cab Mon Sep 17 00:00:00 2001 From: burnettk Date: Fri, 2 Jun 2023 10:59:26 -0400 Subject: [PATCH] add some ids to completed instances tables for testability --- spiffworkflow-frontend/src/routes/CompletedInstances.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spiffworkflow-frontend/src/routes/CompletedInstances.tsx b/spiffworkflow-frontend/src/routes/CompletedInstances.tsx index 5613227ad..95c2dd167 100644 --- a/spiffworkflow-frontend/src/routes/CompletedInstances.tsx +++ b/spiffworkflow-frontend/src/routes/CompletedInstances.tsx @@ -1,5 +1,6 @@ import { useEffect, useState } from 'react'; import ProcessInstanceListTable from '../components/ProcessInstanceListTable'; +import { slugifyString } from '../helpers'; import HttpService from '../services/HttpService'; export default function CompletedInstances() { @@ -24,9 +25,13 @@ export default function CompletedInstances() { Instances with tasks completed by {userGroup} ); + const identifierForTable = `completed-by-group-${slugifyString( + userGroup + )}`; return (