Pārlūkot izejas kodu

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

dengdx 3 dienas atpakaļ
vecāks
revīzija
645b5782ed
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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={