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

Function button

graph-ui/src/projects/AddProjectIndexDialog.test.tsx:67–69  ·  view source on GitHub ↗
(label: string)

Source from the content-addressed store, hash-verified

65 onOpenProject={onOpenProject} onActivityChange={onActivityChange} pollMs={pollMs} {...overrides} />));
66}
67function button(label: string): HTMLButtonElement | undefined {
68 return [...container.querySelectorAll('button')].find(node => node.textContent?.trim() === label || node.getAttribute('aria-label') === label);
69}
70async function click(label: string): Promise<void> {
71 const node = button(label);
72 expect(node, `button ${label}`).toBeDefined();

Callers 2

clickFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected