Merge pull request #26040 from kmikko/fix/favorite-entity-accessibility

fix: label related accessibility issues with FavoriteEntity
This commit is contained in:
Ben Lambert
2024-08-20 09:41:56 +02:00
committed by GitHub
4 changed files with 125 additions and 10 deletions
@@ -119,7 +119,7 @@ describe('CardHeader', () => {
</TestApiProvider>,
);
const favorite = getByRole('button', { name: 'favorite' });
const favorite = getByRole('button', { name: 'Add to favorites' });
await fireEvent.click(favorite);