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

Function waitForPostsIndex

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

Source from the content-addressed store, hash-verified

17}
18
19async function waitForPostsIndex(page: Page) {
20 await page.waitForURL(POSTS_URL)
21 expect(page.url()).toBe(POSTS_URL)
22 await waitForRouterIdle(page)
23 await expect(page.getByTestId('PostsIndexComponent')).toBeInViewport()
24}
25
26test.describe('redirects', () => {
27 const internalNavigationTestMatrix = combinate({

Callers 1

redirect.spec.tsFile · 0.70

Calls 1

waitForRouterIdleFunction · 0.70

Tested by

no test coverage detected