Skip to content

Commit 530e38b

Browse files
committed
fix(ui): describe workboard automation destination
1 parent a25e96d commit 530e38b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎ui/src/i18n/locales/en.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3662,7 +3662,7 @@ export const en: TranslationMap = {
36623662
boardFilter: "Filter by board",
36633663
defaultBoard: "Default board",
36643664
automationAttached: "Automation",
3665-
automationAttachedTitle: "Open the attached automation",
3665+
automationAttachedTitle: "Open Automations",
36663666
boardFilterSummary: "{active} active · {total} total",
36673667
boardFilterArchivedSummary: "Archived · {active} active · {total} total",
36683668
agentFilterUnassigned: "Unassigned (uses {agent})",

‎ui/src/pages/workboard/workboard-page.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,8 @@ describe("WorkboardPage lifecycle", () => {
372372
expect(Boolean(chip)).toBe(visible);
373373
if (visible) {
374374
expect(chip?.getAttribute("href")).toBe("/automations");
375+
expect(chip?.getAttribute("title")).toBe("Open Automations");
376+
expect(chip?.getAttribute("aria-label")).toBe("Open Automations");
375377
expect(chip?.textContent?.trim()).toBe("Automation");
376378
}
377379
});

0 commit comments

Comments
 (0)