feat(ui): name controls and preserve modal state

This commit is contained in:
cesnimda
2026-09-11 19:31:32 +02:00
parent 682a3028bb
commit ebd4a3e245
52 changed files with 1366 additions and 42 deletions
+2
View File
@@ -23,6 +23,8 @@ test('renders app-owned prompt dialog', async () => {
expect(await screen.findByText(/choose a new name/i)).toBeInTheDocument();
expect(screen.getByDisplayValue('resume.pdf')).toBeInTheDocument();
expect(screen.getByRole('textbox', { name: 'Choose a new name' })).toHaveAccessibleDescription('10/180');
expect(screen.getByRole('dialog', { name: 'Rename attachment' })).toHaveAccessibleDescription('Choose a new name');
expect(screen.getByRole('button', { name: /rename/i })).toBeInTheDocument();
});