diff --git a/e2e/assets/example-spec-expected.png b/e2e/assets/example-spec-expected.png index 6efaa0b0..5309d29a 100644 Binary files a/e2e/assets/example-spec-expected.png and b/e2e/assets/example-spec-expected.png differ diff --git a/e2e/performance.spec.ts b/e2e/performance.spec.ts index 865da2ee..8db85c95 100644 --- a/e2e/performance.spec.ts +++ b/e2e/performance.spec.ts @@ -16,12 +16,13 @@ test('Measure zoom time', async ({ page, browser }, testInfo) => { // Wait for the visualization to render const gosComponent = page.getByLabel('Gosling visualization'); - await delay(5000); - const screenshot = await gosComponent.screenshot(); - await testInfo.attach('gosComponentScreenshot', { - body: screenshot, - contentType: 'image/png', - }); + + // Uncomment this to see the screenshot of the component in the report + // const screenshot = await gosComponent.screenshot(); + // await testInfo.attach('gosComponentScreenshot', { + // body: screenshot, + // contentType: 'image/png', + // }); await checkScreenshotUntilMatches( gosComponent,