fix: correct casing in custom data attribute

This commit is contained in:
cv
2023-08-28 21:58:42 +02:00
parent 62979877ae
commit 3cdee24d39
2 changed files with 2 additions and 2 deletions
@@ -147,7 +147,7 @@ const EventBlockInner = (props: EventBlockInnerProps) => {
<span>
<IoPeople
className={`${style.statusIcon} ${isPublic ? style.active : style.disabled}`}
data-isPublic={isPublic}
data-ispublic={isPublic}
/>
</span>
</Tooltip>
+1 -1
View File
@@ -28,5 +28,5 @@ test('CRUD operations on the rundown', async ({ page }) => {
await page.locator('label').filter({ hasText: 'Event is public' }).click();
await page.getByTestId('quick-add-event').click();
await expect(await page.getByTestId('entry-4').getByRole('img').nth(3)).toHaveAttribute('data-isPublic', 'true');
await expect(await page.getByTestId('entry-4').getByRole('img').nth(3)).toHaveAttribute('data-ispublic', 'true');
});