feat: Add ESLint rule to enforce sentence case in button text (#34434)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Joe Li
2025-08-06 13:13:36 -07:00
committed by GitHub
co-authored by Claude
parent 3e12d97e8e
commit a66b7e98e0
30 changed files with 183 additions and 121 deletions
@@ -220,7 +220,7 @@ test('keeps apply disabled when missing required fields', async () => {
expect(await screen.findByText('Chart A')).toBeInTheDocument();
userEvent.click(screen.getByText('Chart A'));
await screen.findByText(/title column/i);
userEvent.click(screen.getByRole('button', { name: 'Automatic Color' }));
userEvent.click(screen.getByRole('button', { name: 'Automatic color' }));
userEvent.click(
screen.getByRole('combobox', { name: 'Annotation layer title column' }),
);