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

[FR] Save widget state per user (#9567)

* [FR] Save widget state per user
Fixes #9562

* cleanup

* fix doc strings

* add reset stage
This commit is contained in:
Matthias Mair
2025-04-24 09:29:28 +02:00
committed by GitHub
parent b86b1d4c4d
commit 71cf9f5452
6 changed files with 85 additions and 94 deletions

View File

@ -5,6 +5,10 @@ import { setPluginState } from '../settings.js';
test('Dashboard - Basic', async ({ browser }) => {
const page = await doCachedLogin(browser);
// Reset wizards
await page.getByLabel('dashboard-menu').click();
await page.getByRole('menuitem', { name: 'Clear Widgets' }).click();
await page.getByText('Use the menu to add widgets').waitFor();
// Let's add some widgets