mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-10 09:53:48 +00:00
8ad260d28a
fix: parsing of custom fields for blocks refactor: extract cuesheet settings refactor: cuesheet actions refactor: improve cuesheet performance on resizing
15 lines
598 B
TypeScript
15 lines
598 B
TypeScript
import { expect, test } from '@playwright/test';
|
|
|
|
test('cuesheet displays events', async ({ page }) => {
|
|
// same elements in cuesheet
|
|
await page.goto('http://localhost:4001/cuesheet');
|
|
await expect(page.getByRole('row', { name: 'Lunch break' })).toBeVisible();
|
|
await expect(page.getByRole('row', { name: 'Afternoon break' })).toBeVisible();
|
|
|
|
await expect(page.locator('#cuesheet')).toBeVisible();
|
|
|
|
// there should be 16 rows in the table (same as the amount of events in the rundown)
|
|
const rowCount = await page.locator('#cuesheet tbody tr').count();
|
|
expect(rowCount).toBe(16);
|
|
});
|