소스 검색

为删除按钮添加用于定位到它的信息

dengdx 3 일 전
부모
커밋
645b5782ed
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/pages/patient/components/ActionPanel.tsx

+ 1 - 0
src/pages/patient/components/ActionPanel.tsx

@@ -198,6 +198,7 @@ const ActionPanel: React.FC = () => {
           />
         }
         onClick={handleDelete}
+        data-testid="delete-button"
       />
       <ActionButton
         icon={