From 67445550b0507439dc253198171aa81fefbb524d Mon Sep 17 00:00:00 2001 From: Bobbie Goede Date: Thu, 1 Feb 2024 12:03:47 +0100 Subject: [PATCH] ci: retry flaky test when using Webpack (#25550) --- test/basic.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/basic.test.ts b/test/basic.test.ts index 001a105cf3..225af98542 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -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 } ) })