fix(frontend): adress broken UI tests (#12183)

* try different matching mechanism

* fix for changes in #12168

* disable broken test from https://github.com/inventree/InvenTree/pull/12169

* revert observability perm change
This commit is contained in:
Matthias Mair
2026-06-17 09:39:00 +10:00
committed by GitHub
parent 7da65c8e50
commit 91a4b2a1a5
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ test('Forms - Hover', async ({ browser }) => {
await page.getByLabel('related-field-supplier').fill('mou');
await page.waitForLoadState('networkidle');
await page.waitForTimeout(250);
await page.getByRole('option', { name: 'Mouser Electronics' }).hover();
await page.getByText('Mouser Electronics').first().hover();
// Check for hover info
await page.getByText('Company[ID: 2]').waitFor();