2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-06 12:01:41 +00:00

make test more reproducible

This commit is contained in:
Matthias Mair
2024-05-01 17:57:20 +02:00
parent 5e08d7f67d
commit fd6ccde535

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