fix(a11y): close cross-app interaction gaps
This commit is contained in:
@@ -68,6 +68,10 @@ test('attachments metadata controls update purpose and ai usage', async () => {
|
||||
);
|
||||
|
||||
expect(await screen.findByDisplayValue(/resume/i)).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: 'Preview: resume.pdf' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: 'Download: resume.pdf' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: 'Rename: resume.pdf' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: 'Delete: resume.pdf' })).toBeInTheDocument();
|
||||
|
||||
fireEvent.mouseDown(screen.getByRole('combobox'));
|
||||
fireEvent.click(await screen.findByRole('option', { name: /portfolio/i }));
|
||||
|
||||
Reference in New Issue
Block a user