mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
ci: retry flaky test when using Webpack (#25550)
This commit is contained in:
parent
f665434781
commit
67445550b0
@ -615,8 +615,8 @@ describe('nuxt links', () => {
|
|||||||
expect(await page.evaluate(() => window.scrollY)).toBe(0)
|
expect(await page.evaluate(() => window.scrollY)).toBe(0)
|
||||||
await page.close()
|
await page.close()
|
||||||
},
|
},
|
||||||
// Flaky when run on windows + webpack
|
// Flaky behavior when using Webpack
|
||||||
{ retry: isWebpack && isWindows ? 10 : 0 }
|
{ retry: isWebpack ? 10 : 0 }
|
||||||
)
|
)
|
||||||
|
|
||||||
it('expect scroll to top on nested pages',
|
it('expect scroll to top on nested pages',
|
||||||
@ -643,8 +643,8 @@ describe('nuxt links', () => {
|
|||||||
expect(await page.evaluate(() => window.scrollY)).toBe(0)
|
expect(await page.evaluate(() => window.scrollY)).toBe(0)
|
||||||
await page.close()
|
await page.close()
|
||||||
},
|
},
|
||||||
// Flaky when run on windows + webpack
|
// Flaky behavior when using Webpack
|
||||||
{ retry: isWebpack && isWindows ? 10 : 0 }
|
{ retry: isWebpack ? 10 : 0 }
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user