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 authored and GitHub committed 2024-10-16 19:43:10 +11:00
1 parent 181e1dd9cc
commit 7c19e51d80
2 files changed
+7 -9

No files matched your search

+1 -1
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