feat: add "unlock all elements" to canvas contextMenu (#5894)

This commit is contained in:
David Luzar 2023-05-13 22:52:03 +02:00 committed by GitHub
parent 5bf27a463c
commit b1b325b9a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 148 additions and 42 deletions

View file

@ -152,7 +152,7 @@ describe("element locking", () => {
expect(contextMenu).not.toBeNull();
expect(
contextMenu?.querySelector(
`li[data-testid="toggleLock"] .context-menu-item__label`,
`li[data-testid="toggleElementLock"] .context-menu-item__label`,
),
).toHaveTextContent(t("labels.elementLock.unlock"));
});