Przeglądaj źródła

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

dengdx 3 dni temu
rodzic
commit
645b5782ed
1 zmienionych plików z 1 dodań i 0 usunięć
  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={