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

Function click

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

Source from the content-addressed store, hash-verified

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();
73 await act(async () => node!.click());
74}
75async function type(id: string, value: string): Promise<void> {
76 const input = container.querySelector<HTMLInputElement>(`#${id}`)!;
77 expect(input).not.toBeNull();

Callers 3

chooseRepositoryFunction · 0.70
startRepositoryFunction · 0.70

Calls 2

expectFunction · 0.85
buttonFunction · 0.70

Tested by

no test coverage detected