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

Function step

e2e/desktop/local-auth-mcp.test.ts:120–129  ·  view source on GitHub ↗
(label: string, body: () => Promise<void>)

Source from the content-addressed store, hash-verified

118 try {
119 const page = await app.firstWindow({ timeout: 120_000 });
120 const step = async (label: string, body: () => Promise<void>) => {
121 await body();
122 stepIndex += 1;
123 await page.screenshot({
124 path: join(
125 runDir,
126 `${String(stepIndex).padStart(2, "0")}-${label.toLowerCase().replace(/[^a-z0-9]+/g, "-")}.png`,
127 ),
128 });
129 };
130
131 await step("app boots into the web console", async () => {
132 await page.getByText("Settings").first().waitFor({ timeout: 120_000 });

Callers 1

runApprovalFunction · 0.70

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected