MCPcopy Create free account
hub / github.com/TanStack/ai / waitForApproval

Function waitForApproval

testing/e2e/tests/tools-test/helpers.ts:235–240  ·  view source on GitHub ↗
(
  page: Page,
  timeout = 10000,
)

Source from the content-addressed store, hash-verified

233 * Wait for the #approval-section element to become visible.
234 */
235export async function waitForApproval(
236 page: Page,
237 timeout = 10000,
238): Promise<void> {
239 await page.waitForSelector('#approval-section', { timeout })
240}
241
242/**
243 * Read all data-* attributes from #test-metadata.

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected