mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	add test for Dashboard
This commit is contained in:
		| @@ -74,3 +74,15 @@ test('PUI - Pages - Index - Playground', async ({ page }) => { | ||||
|   await page.getByRole('textbox').fill('50'); | ||||
|   await page.getByText('Attention needed').waitFor(); | ||||
| }); | ||||
|  | ||||
| test('PUI - Pages - Index - Dashboard', async ({ page }) => { | ||||
|   await doQuickLogin(page); | ||||
|   await page.goto(`${baseUrl}/`); | ||||
|  | ||||
|   // Dashboard auto update | ||||
|   await page.getByRole('tab', { name: 'Dashboard' }).click(); | ||||
|   await page.getByText('Autoupdate').click(); | ||||
|   await page.waitForTimeout(500); | ||||
|   await page.getByText('Autoupdate').click(); | ||||
|   await page.getByText('This page is a replacement').waitFor(); | ||||
| }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user