S12 - Async feedback for scheduling
All checks were successful
Build, test and publish / verify (push) Successful in 7m25s
All checks were successful
Build, test and publish / verify (push) Successful in 7m25s
This commit is contained in:
@@ -143,8 +143,13 @@ test('manages a school, shared memberships and shows through the real REST API',
|
||||
await page.getByRole('button', { name: /Schedule groups/ }).click();
|
||||
await expect(page.getByText('Planning voldoet aan alle harde regels.')).toBeVisible();
|
||||
await expect(
|
||||
page.getByRole('status').filter({ hasText: 'Optimaal conceptrooster.' }),
|
||||
page.locator('.scheduling-progress').filter({ hasText: 'Optimaal conceptrooster.' }),
|
||||
).toBeVisible();
|
||||
await expect(page.locator('.scheduling-snackbar')).toContainText('Zomershow');
|
||||
await expect(page.locator('.scheduling-progress')).toContainText('Spreiding:');
|
||||
await page.reload();
|
||||
await expect(page.locator('.scheduling-progress')).toContainText('Optimaal conceptrooster.');
|
||||
await expect(page.locator('.scheduling-snackbar')).toHaveCount(0);
|
||||
await page.getByRole('button', { name: 'Indeling en volgorde bewerken' }).click();
|
||||
const scheduleDialog = page.getByRole('dialog');
|
||||
await scheduleDialog.getByRole('button', { name: 'Definitief maken' }).click();
|
||||
|
||||
Reference in New Issue
Block a user