test(playwright): fix stale selectors after UI refactor (h1 headings, collapsed Topology/Audit disclosures, ParameterValueForm ids, method-select race)
This commit is contained in:
@@ -33,7 +33,7 @@ public class ApiMethodFormTests
|
||||
|
||||
await page.GotoAsync($"{PlaywrightFixture.BaseUrl}/design/api-methods/create");
|
||||
await page.WaitForLoadStateAsync(LoadState.NetworkIdle);
|
||||
await Assertions.Expect(page.Locator("h4:has-text('Add API Method')")).ToBeVisibleAsync();
|
||||
await Assertions.Expect(page.Locator("h1:has-text('Add API Method')")).ToBeVisibleAsync();
|
||||
|
||||
// The form has several text inputs (Name + SchemaBuilder/parameter rows that also
|
||||
// carry .form-control), so anchor the Name input to its labelled wrapper and
|
||||
|
||||
Reference in New Issue
Block a user