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 })