Disable animationsq

This commit is contained in:
Half-Shot 2025-12-19 17:50:36 +00:00
parent 72cb2718ed
commit 22b68bfcc1
2 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ const config: TestRunnerConfig = {
// If you want to take screenshot of multiple browsers, use
// page.context().browser().browserType().name() to get the browser name to prefix the file name
const image = await page.screenshot();
const image = await page.screenshot({animations: "disabled"});
expect(image).toMatchImageSnapshot({
customSnapshotsDir,
customSnapshotIdentifier: `${context.id}-${process.platform}`,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB