(page: Page)
| 17 | } |
| 18 | |
| 19 | async 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 | |
| 26 | test.describe('redirects', () => { |
| 27 | const internalNavigationTestMatrix = combinate({ |
no test coverage detected