🧪 ci: Update Test Files & fix ESLint issues

This commit is contained in:
Danny Avila 2025-07-25 20:43:57 -04:00
parent 75324e1c7e
commit 74e029e78f
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
5 changed files with 47 additions and 75 deletions

View file

@ -503,8 +503,11 @@ describe('Accessibility Improvements', () => {
);
const tab = screen.getByRole('tab');
expect(tab.className).toContain('focus:outline-none');
expect(tab.className).toContain('focus:bg-gray-100');
// Check that the tab has proper ARIA attributes for accessibility
expect(tab).toHaveAttribute('aria-selected', 'true');
expect(tab).toHaveAttribute('tabIndex', '0');
// Check that tab has proper role and can receive focus
expect(tab).toHaveAttribute('role', 'tab');
});
});