From fd6ccde535e4decdcd8537c92f1cd04b764ddd2c Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Wed, 1 May 2024 17:57:20 +0200 Subject: [PATCH] make test more reproducible --- src/frontend/tests/pui_command.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontend/tests/pui_command.spec.ts b/src/frontend/tests/pui_command.spec.ts index 127637beee..b28416b51a 100644 --- a/src/frontend/tests/pui_command.spec.ts +++ b/src/frontend/tests/pui_command.spec.ts @@ -4,6 +4,9 @@ import { doQuickLogin } from './login.js'; test('PUI - Quick Command', async ({ page }) => { await doQuickLogin(page); + await page + .getByRole('heading', { name: 'Welcome to your Dashboard,' }) + .waitFor(); // Open Spotlight with Keyboard Shortcut await page.locator('body').press(`${systemKey}+k`);