mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +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)
|
||||
await page.close()
|
||||
},
|
||||
// Flaky when run on windows + webpack
|
||||
{ retry: isWebpack && isWindows ? 10 : 0 }
|
||||
// Flaky behavior when using Webpack
|
||||
{ retry: isWebpack ? 10 : 0 }
|
||||
)
|
||||
|
||||
it('expect scroll to top on nested pages',
|
||||
@ -643,8 +643,8 @@ describe('nuxt links', () => {
|
||||
expect(await page.evaluate(() => window.scrollY)).toBe(0)
|
||||
await page.close()
|
||||
},
|
||||
// Flaky when run on windows + webpack
|
||||
{ retry: isWebpack && isWindows ? 10 : 0 }
|
||||
// Flaky behavior when using Webpack
|
||||
{ retry: isWebpack ? 10 : 0 }
|
||||
)
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user