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:
parent
f99d626080
commit
928e2da78e
3 changed files with 3 additions and 3 deletions
|
|
@ -468,7 +468,7 @@ const NodeToolbarComponent = memo(
|
||||||
{!hasToolMode && (
|
{!hasToolMode && (
|
||||||
<ToolbarButton
|
<ToolbarButton
|
||||||
icon="FreezeAll"
|
icon="FreezeAll"
|
||||||
label="Freeze Path"
|
label="Freeze"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
takeSnapshot();
|
takeSnapshot();
|
||||||
FreezeAllVertices({
|
FreezeAllVertices({
|
||||||
|
|
|
||||||
|
|
@ -272,7 +272,7 @@ test(
|
||||||
timeout: 1000,
|
timeout: 1000,
|
||||||
});
|
});
|
||||||
|
|
||||||
await page.getByText("Freeze", { exact: true }).click();
|
await page.getByText("Freeze", { exact: true }).first().click();
|
||||||
|
|
||||||
await page.waitForTimeout(3000);
|
await page.waitForTimeout(3000);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ test(
|
||||||
|
|
||||||
await page.getByTestId("more-options-modal").click();
|
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 });
|
await page.waitForSelector(".border-ring-frozen", { timeout: 3000 });
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue