mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-19 22:24:11 +00:00
release test fixes (#496)
* refactor: handle missing type * fix: prevent stale data on cancel delay
This commit is contained in:
@@ -47,6 +47,7 @@ test('delay blocks add time to events', async ({ page }) => {
|
||||
// cancel delay
|
||||
await page.getByRole('button', { name: 'Cancel' }).click();
|
||||
await expect(page.getByTestId('panel-rundown').getByTestId('time-input-timeStart')).toHaveValue('00:08:00');
|
||||
await expect(page.getByText('+10 minNew start: 00:18:00')).toHaveCount(0);
|
||||
});
|
||||
|
||||
test('delays are show correctly', async ({ page }) => {
|
||||
|
||||
Reference in New Issue
Block a user