make test more reproducible

This commit is contained in:
Matthias Mair 2024-05-01 17:57:20 +02:00
parent 5e08d7f67d
commit fd6ccde535
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
1 changed files with 3 additions and 0 deletions

View File

@ -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`);