diff --git a/apps/nextjs/src/app/[locale]/boards/(content)/_header-actions.tsx b/apps/nextjs/src/app/[locale]/boards/(content)/_header-actions.tsx index 822b83989..367783dee 100644 --- a/apps/nextjs/src/app/[locale]/boards/(content)/_header-actions.tsx +++ b/apps/nextjs/src/app/[locale]/boards/(content)/_header-actions.tsx @@ -203,7 +203,7 @@ const EditModeMenu = ({ demoReadOnly, hidden }: { demoReadOnly: boolean; hidden: return ( - + {isEditMode ? : } diff --git a/e2e/mobile-board.spec.ts b/e2e/mobile-board.spec.ts index ea7b8cddf..8e684b45a 100644 --- a/e2e/mobile-board.spec.ts +++ b/e2e/mobile-board.spec.ts @@ -176,7 +176,7 @@ describe("Automatic mobile board", () => { await expect(items).toHaveCount(2); await expect(mobilePage.locator(".grid-stack-item")).toHaveCount(0); await expect(mobilePage.getByText("Normal notebook content")).toBeVisible(); - await expect(mobilePage.getByRole("button", { name: "Edit item", exact: true })).toHaveCount(0); + await expect(mobilePage.getByRole("button", { name: "Toggle board edit mode", exact: true })).toHaveCount(0); await expect(mobilePage.getByRole("button", { name: /open widget details/i })).toHaveCount(0); await expect(mobilePage.getByRole("button", { name: /actions for/i })).toHaveCount(0); await expect(mobilePage.locator("[data-mobile-generic-summary], [data-mobile-display-mode]")).toHaveCount(0); @@ -218,7 +218,7 @@ describe("Automatic mobile board", () => { await legacyPage.goto(`${baseUrl}/boards/${boardName}`); await expect(legacyPage.locator("[data-mobile-board]")).toHaveCount(0); await expect(legacyPage.locator(".grid-stack-item")).toHaveCount(2); - await expect(legacyPage.getByRole("button", { name: "Edit item", exact: true })).toBeVisible(); + await expect(legacyPage.getByRole("button", { name: "Toggle board edit mode", exact: true })).toBeVisible(); await legacyContext.close(); } finally { await loginContext.close(); diff --git a/packages/translation/src/lang/en.json b/packages/translation/src/lang/en.json index 8c8dd4b0a..bd5ad4eca 100644 --- a/packages/translation/src/lang/en.json +++ b/packages/translation/src/lang/en.json @@ -4179,6 +4179,7 @@ } }, "edit": { + "label": "Toggle board edit mode", "notification": { "success": { "title": "Changes applied successfully",