test: remove miswritten test (#25347)

This commit is contained in:
Julien Huang 2024-01-21 12:31:29 +01:00 committed by GitHub
parent 83c9146af3
commit 89541f4164
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -193,15 +193,6 @@ describe('pages', () => {
await expectNoClientErrors('/not-found') await expectNoClientErrors('/not-found')
}) })
it('expect no loading indicator on middleware abortNavigation', async () => {
const { page } = await renderPage('/')
await page.locator('#middleware-abort-non-fatal').click()
expect(await page.locator('#lodagin-indicator').all()).toHaveLength(0)
await page.locator('#middleware-abort-non-fatal-error').click()
expect(await page.locator('#lodagin-indicator').all()).toHaveLength(0)
await page.close()
})
it('should render correctly when loaded on a different path', async () => { it('should render correctly when loaded on a different path', async () => {
const { page, pageErrors } = await renderPage('/proxy') const { page, pageErrors } = await renderPage('/proxy')