Skip to content

Commit ef633e4

Browse files
committed
fix: update screenshot
1 parent a191dde commit ef633e4

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

playwright/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const config: PlaywrightTestConfig = {
3939
/* Fail the build on CI if you accidentally left test.only in the source code. */
4040
forbidOnly: Boolean(process.env.CI),
4141
/* Retry on CI only */
42-
retries: process.env.CI ? 2 : 0,
42+
retries: process.env.CI ? 1 : 0,
4343
/* Opt out of parallel tests on CI. */
4444
workers: process.env.CI ? 8 : undefined,
4545
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
-9.76 KB
Loading

src/__tests__/line-series.visual.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ test.describe('Line series with logarithmic Y axis', () => {
3838
</div>,
3939
);
4040

41-
await expect(await component.locator('svg').screenshot()).toMatchSnapshot();
41+
await expect(component.locator('svg')).toHaveScreenshot();
4242
});
4343
});

0 commit comments

Comments
 (0)