瀏覽代碼

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

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={