mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-25 17:09:09 +00:00
fix: correct casing in custom data attribute
This commit is contained in:
@@ -147,7 +147,7 @@ const EventBlockInner = (props: EventBlockInnerProps) => {
|
|||||||
<span>
|
<span>
|
||||||
<IoPeople
|
<IoPeople
|
||||||
className={`${style.statusIcon} ${isPublic ? style.active : style.disabled}`}
|
className={`${style.statusIcon} ${isPublic ? style.active : style.disabled}`}
|
||||||
data-isPublic={isPublic}
|
data-ispublic={isPublic}
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</Tooltip>
|
</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.locator('label').filter({ hasText: 'Event is public' }).click();
|
||||||
await page.getByTestId('quick-add-event').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