Update server-related tests to cover forwardCredentials option

This commit is contained in:
Alejandro Celaya
2025-04-20 11:55:34 +02:00
parent e997d11c2c
commit e12cd68010
5 changed files with 39 additions and 12 deletions

View File

@@ -36,7 +36,7 @@ describe('<DeleteServerModal />', () => {
expect(screen.getByText(serverName)).toBeInTheDocument();
});
it.only.each([
it.each([
[() => screen.getByRole('button', { name: 'Cancel' })],
[() => screen.getByLabelText('Close dialog')],
])('closes dialog when clicking cancel button', async (getButton) => {