(connection: string)
| 141 | // The Accounts tab also lists connection names; scope all tree |
| 142 | // lookups to the active tab panel so locators stay strict. |
| 143 | const sectionFor = (connection: string) => |
| 144 | page.getByRole("tabpanel").locator("section").filter({ hasText: connection }); |
| 145 | // Group rows are the only tree buttons carrying aria-expanded. |
| 146 | const closedGroup = (connection: string, text: string) => |
| 147 | sectionFor(connection).locator('button[aria-expanded="false"]').filter({ hasText: text }); |
no outgoing calls
no test coverage detected