Skip to content

Commit

Permalink
remove pauseAnimationAtEnd flag from cypress example
Browse files Browse the repository at this point in the history
  • Loading branch information
winkerVSbecks committed Oct 21, 2024
1 parent 9dfa32e commit 1334e75
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/content/snapshotOptions/animations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
Expand Down

0 comments on commit 1334e75

Please sign in to comment.