Renable flaky tests disabled before (#51680)

As we moved to new CI runner in `#50436`, try to re-enable few flaky tests we disabled before
This commit is contained in:
Jiachi Liu 2023-07-03 11:29:28 +02:00 committed by GitHub
parent 805bfa45e0
commit 10605a15c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -147,8 +147,8 @@ createNextDescribe(
expect(newNumber).not.toBe(randomNumber)
})
// TODO-APP: investigate flaky test
it.skip('should prefetch again after 5 mins if the link is visible again', async () => {
it('should prefetch again after 5 mins if the link is visible again', async () => {
const { getRequests, clearRequests } = await createRequestsListener(
browser
)

View file

@ -1011,8 +1011,7 @@ createNextDescribe(
}, 'success')
})
// TODO-APP: investigate flaky test
it.skip('should cache correctly for fetchCache = force-cache', async () => {
it('should cache correctly for fetchCache = force-cache', async () => {
const res = await next.fetch('/force-cache')
expect(res.status).toBe(200)