MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / openWorkflowFile

Function openWorkflowFile

graph-ui/tools/handtest-fixes-chat.mjs:351–363  ·  view source on GitHub ↗
(page)

Source from the content-addressed store, hash-verified

349}
350
351async function openWorkflowFile(page) {
352 await open(page, PROJECT, 'explore');
353 for (const path of ['.github', '.github/workflows']) {
354 const row = page.locator(`.atlas-tree-row[data-path="${path}"]`).first();
355 await row.waitFor({ timeout: 30000 });
356 for (let attempt = 0; attempt < 4 && (await row.getAttribute('data-expanded')) !== 'true'; attempt++) { await row.click(); await wait(1200); }
357 }
358 const file = page.locator('.atlas-tree-row[data-path=".github/workflows/new_contributor_pr.yml"]').first();
359 await file.waitFor({ timeout: 30000 });
360 await file.click();
361 await page.waitForFunction(() => /New contributor message/.test(document.body.innerText), null, { timeout: 30000 }).catch(() => {});
362 await wait(2500);
363}
364
365async function k17(page) {
366 await openWorkflowFile(page);

Callers 2

k17Function · 0.70
k12Function · 0.70

Calls 2

openFunction · 0.70
waitFunction · 0.70

Tested by

no test coverage detected