Skip to content

Commit 854c6f4

Browse files
committed
test(ui): match Inbox approvals tab accessible name to hub-tab content
The hub-tab strip names tabs by visible content (label + badge count), not the removed per-tab aria-label.
1 parent e34cb3b commit 854c6f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ui/src/e2e/approval-flow.e2e.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ suite.define(() => {
137137
await inboxPanel.locator('[data-approval-id="approval-inline"]').waitFor();
138138
await inboxPanel.locator('[data-approval-id="approval-other"]').waitFor();
139139
await expect.poll(() => inboxPanel.locator("[data-approval-id]").count()).toBe(2);
140-
await inboxPanel.getByRole("tab", { name: "Approvals, 2 inbox items" }).waitFor();
140+
await inboxPanel.getByRole("tab", { name: "Approvals 2" }).waitFor();
141141
if (captureUiProof) {
142142
await currentPage.screenshot({ path: path.join(proofDir, "02-open-queue.png") });
143143
}

0 commit comments

Comments
 (0)