mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-08 04:40:57 +00:00
make test more reproducible
This commit is contained in:
@@ -4,6 +4,9 @@ import { doQuickLogin } from './login.js';
|
|||||||
|
|
||||||
test('PUI - Quick Command', async ({ page }) => {
|
test('PUI - Quick Command', async ({ page }) => {
|
||||||
await doQuickLogin(page);
|
await doQuickLogin(page);
|
||||||
|
await page
|
||||||
|
.getByRole('heading', { name: 'Welcome to your Dashboard,' })
|
||||||
|
.waitFor();
|
||||||
|
|
||||||
// Open Spotlight with Keyboard Shortcut
|
// Open Spotlight with Keyboard Shortcut
|
||||||
await page.locator('body').press(`${systemKey}+k`);
|
await page.locator('body').press(`${systemKey}+k`);
|
||||||
|
Reference in New Issue
Block a user