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

Function openWorkflowFile

graph-ui/tools/handtest-fixes-galaxy.mjs:949–962  ·  view source on GitHub ↗
(page)

Source from the content-addressed store, hash-verified

947/* K12: die Namen im Mini-Galaxy von Explore liegen nicht aufeinander */
948
949async function openWorkflowFile(page) {
950 await page.goto(`${ORIGIN}/?project=${encodeURIComponent(PROJECT)}&workspace=explore`, { waitUntil: 'domcontentloaded' });
951 await page.waitForSelector('.atlas-shell', { timeout: 30000 });
952 await wait(1500);
953 for (const path of ['.github', '.github/workflows']) {
954 const row = page.locator(`.atlas-tree-row[data-path="${path}"]`).first();
955 await row.waitFor({ timeout: 30000 });
956 for (let attempt = 0; attempt < 4 && (await row.getAttribute('data-expanded')) !== 'true'; attempt++) { await row.click(); await wait(1200); }
957 }
958 await page.locator('.atlas-tree-row[data-path=".github/workflows/new_contributor_pr.yml"]').first().click();
959 await page.waitForFunction(() => /New contributor message/.test(document.body.innerText), null, { timeout: 30000 }).catch(() => {});
960 await page.waitForFunction(() => document.querySelectorAll('.atlas-galaxy [data-testid="atlas-galaxy-root-marker"]').length > 1, null, { timeout: 30000 }).catch(() => {});
961 await wait(3000);
962}
963
964/** Alle Beschriftungen im Mini-Galaxy, im DOM gemessen, dazu die Namen der Szene; Paare, die sich ueberlagern. */
965async function miniLabels(page) {

Callers 1

checkK12Function · 0.70

Calls 1

waitFunction · 0.70

Tested by

no test coverage detected