mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-24 22:09:08 +08:00
fix: use data-testid (#2487)
This commit is contained in:
@@ -47,7 +47,7 @@ export const OperationCell: React.FC<OperationCellProps> = ({
|
||||
<>
|
||||
{isPublic && (
|
||||
<DisablePublicSharing
|
||||
testId="disable-public-sharing"
|
||||
data-testid="disable-public-sharing"
|
||||
onItemClick={() => {
|
||||
setOpenDisableShared(true);
|
||||
}}
|
||||
@@ -71,7 +71,7 @@ export const OperationCell: React.FC<OperationCellProps> = ({
|
||||
</MenuItem>
|
||||
)}
|
||||
<MoveToTrash
|
||||
testId="move-to-trash"
|
||||
data-testid="move-to-trash"
|
||||
onItemClick={() => {
|
||||
setOpen(true);
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user