mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 03:25:42 +00:00
make test faster
This commit is contained in:
@ -41,12 +41,16 @@ test('PUI - Quick Command', async ({ page }) => {
|
||||
await page.getByPlaceholder('Search...').press('Enter');
|
||||
await page.waitForURL('**/platform/dashboard');
|
||||
|
||||
// Reset
|
||||
await page.goto('./platform/');
|
||||
|
||||
// Use navigation menu
|
||||
await page.getByRole('button', { name: 'Open spotlight' }).click();
|
||||
await page
|
||||
.getByRole('button', { name: 'Open Navigation Open the main' })
|
||||
.click();
|
||||
// assert the nav headers are visible
|
||||
await page.getByRole('heading', { name: 'Navigation' }).click();
|
||||
await page.getByRole('heading', { name: 'Pages' }).click();
|
||||
await page.getByRole('heading', { name: 'Documentation' }).click();
|
||||
await page.getByRole('heading', { name: 'About' }).click();
|
||||
|
Reference in New Issue
Block a user