diff --git a/dev/react/src/tests/drag-tabs.tsx b/dev/react/src/tests/drag-tabs.tsx index 1c3e0e670a..84568ab07c 100644 --- a/dev/react/src/tests/drag-tabs.tsx +++ b/dev/react/src/tests/drag-tabs.tsx @@ -321,6 +321,7 @@ li { } li span { + color: black; flex-shrink: 1; flex-grow: 1; white-space: nowrap; diff --git a/dev/react/src/tests/layout-shared-crossfade-nested.tsx b/dev/react/src/tests/layout-shared-crossfade-nested.tsx index b50615e747..d6fe94de3d 100644 --- a/dev/react/src/tests/layout-shared-crossfade-nested.tsx +++ b/dev/react/src/tests/layout-shared-crossfade-nested.tsx @@ -1,7 +1,7 @@ import { motion, AnimatePresence } from "framer-motion" -import { useState } from "react"; +import { useState } from "react" -const transition = { duration: 0.2, ease: () => 0.5 } +const transition = { duration: 1, ease: () => 0.5 } export const App = () => { const params = new URLSearchParams(window.location.search) const type = params.get("type") || true diff --git a/packages/framer-motion/cypress/integration/drag-tabs.ts b/packages/framer-motion/cypress/integration/drag-tabs.ts index e9aa4e9a1d..4b89921372 100644 --- a/packages/framer-motion/cypress/integration/drag-tabs.ts +++ b/packages/framer-motion/cypress/integration/drag-tabs.ts @@ -88,7 +88,7 @@ describe("Tabs demo", () => { cy.visit("?test=drag-tabs") .get("#Tomato-remove") .click() - .wait(150) + .wait(400) .get("#Lettuce-tab") .trigger("pointerdown", 40, 10) .wait(30) diff --git a/packages/framer-motion/cypress/integration/layout-shared.ts b/packages/framer-motion/cypress/integration/layout-shared.ts index eabaf8e038..8ee1fada19 100644 --- a/packages/framer-motion/cypress/integration/layout-shared.ts +++ b/packages/framer-motion/cypress/integration/layout-shared.ts @@ -872,7 +872,6 @@ describe("Shared layout: nested crossfade transition", () => { .get("#a") .trigger("click") .wait(50) - .get("#a") .should(([$box]: any) => { expectBbox($box, { top: 200,