MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / leafIndicator

Function leafIndicator

e2e/scenarios/policies-ui.test.ts:156–160  ·  view source on GitHub ↗
(connection: string, leaf: string, label: string)

Source from the content-addressed store, hash-verified

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.
156 const leafIndicator = (connection: string, leaf: string, label: string) =>
157 sectionFor(connection)
158 .getByRole("button")
159 .filter({ hasText: leaf })
160 .getByLabel(label, { exact: true });
161
162 await step("Open the integration's Tools tab", async () => {
163 await page.goto(`/integrations/${integration}`, { waitUntil: "networkidle" });

Callers 1

Calls 1

sectionForFunction · 0.85

Tested by

no test coverage detected