From ace2e5b3052c60ee320a691ae0b58a98d1ebf83a Mon Sep 17 00:00:00 2001 From: Yif <877193178@qq.com> Date: Sat, 26 Sep 2026 01:11:16 +0800 Subject: [PATCH] test(plugins): use supported role query options --- .../client/ui-plugin-manager/tests/components.client.spec.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/ui-plugin-manager/tests/components.client.spec.tsx b/packages/client/ui-plugin-manager/tests/components.client.spec.tsx index fe2cb8db84..70cfb1b4d6 100644 --- a/packages/client/ui-plugin-manager/tests/components.client.spec.tsx +++ b/packages/client/ui-plugin-manager/tests/components.client.spec.tsx @@ -1269,7 +1269,7 @@ describe('PluginManagerPage', () => { it('focuses an invalid custom address when submission opens its registry menu', () => { const open = { ...IDLE_INSTALL, open: true, spec: 'dsh-new', registry: { kind: 'custom' as const, url: 'invalid' } } const { actions, set } = renderTab({ install: open }) - fireEvent.click(screen.getByRole('button', { name: en.installRun, exact: true })) + fireEvent.click(screen.getByRole('button', { name: en.installRun })) expect(actions.runInstall).toHaveBeenCalledOnce() set({ install: { ...open, registryOpen: true, registryError: true } }) const field = screen.getByRole('textbox', { name: en.registryCustom })