diff --git a/code/e2e-tests/framework-nextjs.spec.ts b/code/e2e-tests/framework-nextjs.spec.ts index c69825c42b5f..d5519251da39 100644 --- a/code/e2e-tests/framework-nextjs.spec.ts +++ b/code/e2e-tests/framework-nextjs.spec.ts @@ -28,7 +28,8 @@ test.describe('Next.js', () => { sbPage = new SbPage(page); }); - test('should lazy load images by default', async () => { + // TODO: Test is flaky, investigate why + test.skip('should lazy load images by default', async () => { await sbPage.navigateToStory('frameworks/nextjs/Image', 'lazy'); const img = sbPage.previewRoot().locator('img'); @@ -36,7 +37,8 @@ test.describe('Next.js', () => { expect(await img.evaluate((image) => image.complete)).toBeFalsy(); }); - test('should eager load images when loading parameter is set to eager', async () => { + // TODO: Test is flaky, investigate why + test.skip('should eager load images when loading parameter is set to eager', async () => { await sbPage.navigateToStory('frameworks/nextjs/Image', 'eager'); const img = sbPage.previewRoot().locator('img');