Refactor modal tests for improved clarity and consistency in content and actions

This commit is contained in:
2025-06-29 16:06:35 +02:00
parent 8d9222d084
commit 32d03347fc
12 changed files with 122 additions and 80 deletions

View File

@@ -36,8 +36,8 @@ describe('CreateUserModal', () => {
mockOnCreateUser.mockResolvedValue(true);
});
describe('Modal Visibility and Basic Interaction', () => {
it('renders modal when opened with all form elements', () => {
describe('Modal Visibility and Content', () => {
it('renders modal with correct content when opened', () => {
render(
<CreateUserModal
opened={true}