2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 02:55:41 +00:00

Simplify display of "locked" part status (#8297)

* Simplify display of "locked" part status

- REmove big badge
- Show subtle icon

* Update playwright test
This commit is contained in:
Oliver
2024-10-16 19:43:10 +11:00
committed by GitHub
parent 181e1dd9cc
commit 7c19e51d80
2 changed files with 7 additions and 9 deletions

View File

@ -15,7 +15,7 @@ test('Pages - Part - Locking', async ({ page }) => {
// Navigate to a known assembly which *is* locked
await page.goto(`${baseUrl}/part/100/bom`);
await page.getByRole('tab', { name: 'Bill of Materials' }).click();
await page.getByText('Locked', { exact: true }).waitFor();
await page.getByLabel('part-lock-icon').waitFor();
await page.getByText('Part is Locked', { exact: true }).waitFor();
// Check the "parameters" tab also