test(playwright): fix stale selectors after UI refactor (h1 headings, collapsed Topology/Audit disclosures, ParameterValueForm ids, method-select race)

This commit is contained in:
Joseph Doherty
2026-12-03 12:14:28 -05:00
parent 18311eb385
commit 5acb16ca07
23 changed files with 66 additions and 46 deletions
@@ -36,7 +36,7 @@ public class ExternalSystemCrudTests
// ── CREATE ────────────────────────────────────────────────────────────────
await page.GotoAsync($"{PlaywrightFixture.BaseUrl}/design/external-systems/create");
await page.WaitForLoadStateAsync(LoadState.NetworkIdle);
await Assertions.Expect(page.Locator("h4:has-text('Add External System')")).ToBeVisibleAsync();
await Assertions.Expect(page.Locator("h1:has-text('Add External System')")).ToBeVisibleAsync();
// ExternalSystemForm.razor has THREE input[type=text].form-control fields
// (Name, Endpoint URL, and Auth Config JSON), so index-based selection is