MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / createStep9Entry

Function createStep9Entry

content/vps-panel.js:337–350  ·  view source on GitHub ↗
(candidate, selector)

Source from the content-addressed store, hash-verified

335}
336
337function createStep9Entry(candidate, selector) {
338 const className = String(candidate?.className || '').replace(/\s+/g, ' ').trim();
339 const errorVisualSignals = getStep9ErrorVisualSignals(candidate, className);
340 return {
341 element: candidate,
342 selector,
343 visible: isVisibleElement(candidate),
344 text: normalizeStep9StatusText(candidate?.textContent || ''),
345 className,
346 errorVisualSignals,
347 errorVisualSummary: errorVisualSignals.join(', '),
348 hasErrorVisualSignal: errorVisualSignals.length > 0,
349 };
350}
351
352function getStep9PageErrorSelectors() {
353 return [

Callers 2

getStatusBadgeEntriesFunction · 0.85
getStep9PageErrorEntriesFunction · 0.85

Calls 3

normalizeStep9StatusTextFunction · 0.85
isVisibleElementFunction · 0.70

Tested by

no test coverage detected