fix: use data-testid (#2487)

This commit is contained in:
Himself65
2023-05-22 17:36:52 +08:00
parent f4057593af
commit b6fd58e0f5
5 changed files with 10 additions and 9 deletions

View File

@@ -109,7 +109,7 @@ const PageMenu = () => {
</MenuItem>
<Export />
<MoveToTrash
testId="editor-option-menu-delete"
data-testid="editor-option-menu-delete"
onItemClick={() => {
setOpenConfirm(true);
}}