From 1334e756a6e08c2bce5d982a0bf7153bcda81505 Mon Sep 17 00:00:00 2001 From: winkerVSbecks Date: Mon, 21 Oct 2024 09:49:44 -0400 Subject: [PATCH] remove pauseAnimationAtEnd flag from cypress example --- src/content/snapshotOptions/animations.mdx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/content/snapshotOptions/animations.mdx b/src/content/snapshotOptions/animations.mdx index 903a17d6..bd60315d 100644 --- a/src/content/snapshotOptions/animations.mdx +++ b/src/content/snapshotOptions/animations.mdx @@ -143,9 +143,7 @@ Another strategy is to inject a variable into the window object to disable anima win.disableAnimations = true }) - it("Successfully loads the page", { env: { - pauseAnimationAtEnd: false // Overrides the default behavior and pauses the animation at the first frame for this test. - }}, () => { + it("Successfully loads the page", () => { cy.visit("/products"); cy.get("h3").should("contain", "Product details"); });