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

Function byTestId

graph-ui/src/projects/ProjectsPanel.test.tsx:135–135  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

133}
134
135const byTestId = (id: string): HTMLElement | null => container.querySelector(`[data-testid="${id}"]`);
136const allByTestId = (id: string): HTMLElement[] => [...container.querySelectorAll<HTMLElement>(`[data-testid="${id}"]`)];
137
138async function click(element: HTMLElement | null): Promise<void> {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected