fix(e2e): use #node-name locator instead of getByLabel in nodes tests

The NodeManager form labels the field 'Name' (not 'Node Name'), so
getByLabel(/node name/i) never matched and timed out after 30s.
Switch to the stable #node-name id which is bound via htmlFor.
This commit is contained in:
SaelixCode
2026-03-22 01:27:33 -04:00
parent 14c24c8245
commit e01c0d6b48
+1 -1
View File
@@ -23,7 +23,7 @@ test.describe('Node management', () => {
}
await addBtn.click();
await page.getByLabel(/node name/i).fill('bad-node');
await page.locator('#node-name').fill('bad-node');
// Select "remote" type if there's a type selector
const typeSelect = page.getByLabel(/type/i);
if (await typeSelect.isVisible()) await typeSelect.selectOption('remote');