Skip to content

Commit ab1d010

Browse files
committed
test(app-shell): served-label header test clicks the zh bulk-clear button
Claude-Session: https://claude.ai/code/session_01JQwxbZMgz2QbrsLJv3RD41 Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 139b657 commit ab1d010

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ui/packages/app-shell/src/views/metadata-admin/PermissionMatrixEditor.servedLabel-26884.test.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ describe('PermissionMatrixEditPage — header shows the served label (objectstac
105105

106106
// Any matrix edit → the autosave sends the draft (objectui#11787).
107107
const row = screen.getByText('a_account').closest('tr')!;
108-
fireEvent.click(within(row).getByRole('button', { name: /None|无/ }));
108+
fireEvent.click(within(row).getByRole('button', { name: /None|清空/ }));
109109
await waitFor(() => expect(server.saved).toHaveLength(1), { timeout: 4000 });
110110
expect(server.saved[0].label).toBe('Sales Representative');
111111
// The header still names the set by the served label after the save.

0 commit comments

Comments
 (0)