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

Function button

graph-ui/src/adr/AdrWorkspace.test.tsx:38–42  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

36 await act(async () => root.render(<AdrWorkspace project={project} active source={api} {...overrides} />));
37}
38function button(name: string): HTMLButtonElement {
39 const found = [...host.querySelectorAll('button')].find(candidate => candidate.textContent === name);
40 if (!found) throw new Error(`Missing button: ${name}`);
41 return found;
42}
43async function click(name: string) { await act(async () => button(name).click()); }
44async function edit(content: string) {
45 if (!host.querySelector('textarea')) await click('Edit');

Callers 2

clickFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected