MCPcopy Create free account
hub / github.com/TanStack/router / waitForPostsIndex

Function waitForPostsIndex

e2e/solid-start/basic/tests/redirect.spec.ts:24–29  ·  view source on GitHub ↗
(page: Page)

Source from the content-addressed store, hash-verified

22}
23
24async function waitForPostsIndex(page: Page) {
25 await page.waitForURL(POSTS_URL)
26 expect(page.url()).toBe(POSTS_URL)
27 await waitForRouterIdle(page)
28 await expect(page.getByTestId('PostsIndexComponent')).toBeInViewport()
29}
30
31test.describe('redirects', () => {
32 const internalNavigationTestMatrix = combinate({

Callers 1

redirect.spec.tsFile · 0.70

Calls 1

waitForRouterIdleFunction · 0.70

Tested by

no test coverage detected