(page: Page)
| 22 | } |
| 23 | |
| 24 | async 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 | |
| 31 | test.describe('redirects', () => { |
| 32 | const internalNavigationTestMatrix = combinate({ |
no test coverage detected