fix: changed naming from freeze path to freeze (#7343)

* Changed naming from freeze path to freeze

* Fixed tests

* Fixed tests
This commit is contained in:
Lucas Oliveira 2025-03-29 21:11:04 -03:00 committed by GitHub
commit 928e2da78e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -468,7 +468,7 @@ const NodeToolbarComponent = memo(
{!hasToolMode && (
<ToolbarButton
icon="FreezeAll"
label="Freeze Path"
label="Freeze"
onClick={() => {
takeSnapshot();
FreezeAllVertices({

View file

@ -272,7 +272,7 @@ test(
timeout: 1000,
});
await page.getByText("Freeze", { exact: true }).click();
await page.getByText("Freeze", { exact: true }).first().click();
await page.waitForTimeout(3000);

View file

@ -68,7 +68,7 @@ test(
await page.getByTestId("more-options-modal").click();
await page.getByText("Freeze", { exact: true }).last().click();
await page.getByText("Freeze", { exact: true }).first().click();
await page.waitForSelector(".border-ring-frozen", { timeout: 3000 });