(connection: string, node: string)
| 146 | const closedGroup = (connection: string, text: string) => |
| 147 | sectionFor(connection).locator('button[aria-expanded="false"]').filter({ hasText: text }); |
| 148 | const policyMenuFor = (connection: string, node: string) => |
| 149 | sectionFor(connection).getByRole("button", { |
| 150 | name: `Set policy for ${node}`, |
| 151 | exact: true, |
| 152 | }); |
| 153 | // A leaf's policy dot, scoped to ITS row — the same effective policy |
| 154 | // (and thus the same indicator label) can legitimately sit on several |
| 155 | // rows at once, so an unscoped label lookup would not be unique. |
no test coverage detected