mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-09 09:23:51 +00:00
fix: correct casing in custom data attribute
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user