mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
add test for Dashboard
This commit is contained in:
parent
cfbf6badbf
commit
f08e0898e3
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user