diff --git a/src/frontend/tests/pages/pui_index.spec.ts b/src/frontend/tests/pages/pui_index.spec.ts index c9abc1cd58..ed05185228 100644 --- a/src/frontend/tests/pages/pui_index.spec.ts +++ b/src/frontend/tests/pages/pui_index.spec.ts @@ -74,3 +74,15 @@ test('PUI - Pages - Index - Playground', async ({ page }) => { await page.getByRole('textbox').fill('50'); await page.getByText('Attention needed').waitFor(); }); + +test('PUI - Pages - Index - Dashboard', async ({ page }) => { + await doQuickLogin(page); + await page.goto(`${baseUrl}/`); + + // Dashboard auto update + await page.getByRole('tab', { name: 'Dashboard' }).click(); + await page.getByText('Autoupdate').click(); + await page.waitForTimeout(500); + await page.getByText('Autoupdate').click(); + await page.getByText('This page is a replacement').waitFor(); +});