1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5212],{24418:(e,t,r)=>{r.d(t,{N:()=>g});var n=r(4902),i=r(14232),s=r(27863),a=r(21214),l=r(50181);function o(){var e=(0,i.useRef)(!1);return(0,l.E)(function(){return e.current=!0,function(){e.current=!1}},[]),e}var c=r(3866),u=r(91200),d=r(35319),p=function(e){var t=e.children,r=e.initial,s=e.isPresent,a=e.onExitComplete,l=e.custom,o=e.presenceAffectsLayout,p=(0,u.M)(f),h=(0,d.B)(),x=(0,i.useMemo)(function(){return{id:h,initial:r,isPresent:s,custom:l,onExitComplete:function(e){var t,r;p.set(e,!0);try{for(var i=(0,n.Ju)(p.values()),s=i.next();!s.done;s=i.next())if(!s.value)return}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}null==a||a()},register:function(e){return p.set(e,!1),function(){return p.delete(e)}}}},o?void 0:[s]);return(0,i.useMemo)(function(){p.forEach(function(e,t){return p.set(t,!1)})},[s]),i.useEffect(function(){s||p.size||null==a||a()},[s]),i.createElement(c.t.Provider,{value:x},t)};function f(){return new Map}var h=r(5048),x=r(15590),m=function(e){return e.key||""},g=function(e){var t,r,c,u,d,f,g=e.children,y=e.custom,v=e.initial,w=void 0===v||v,b=e.onExitComplete,C=e.exitBeforeEnter,j=e.presenceAffectsLayout,k=void 0===j||j,E=(0,n.zs)((t=o(),c=(r=(0,n.zs)((0,i.useState)(0),2))[0],u=r[1],d=(0,i.useCallback)(function(){t.current&&u(c+1)},[c]),[(0,i.useCallback)(function(){return a.Ay.postRender(d)},[d]),c]),1)[0],N=(0,i.useContext)(h.L).forceRender;N&&(E=N);var P=o(),A=(f=[],i.Children.forEach(g,function(e){(0,i.isValidElement)(e)&&f.push(e)}),f),L=A,M=new Set,z=(0,i.useRef)(L),I=(0,i.useRef)(new Map).current,R=(0,i.useRef)(!0);if((0,l.E)(function(){R.current=!1,A.forEach(function(e){var t=m(e);I.set(t,e)}),z.current=L}),(0,x.l)(function(){R.current=!0,I.clear(),M.clear()}),R.current)return i.createElement(i.Fragment,null,L.map(function(e){return i.createElement(p,{key:m(e),isPresent:!0,initial:!!w&&void 0,presenceAffectsLayout:k},e)}));L=(0,n.fX)([],(0,n.zs)(L),!1);for(var _=z.current.map(m),O=A.map(m),S=_.length,Y=0;Y<S;Y++){var $=_[Y];-1===O.indexOf($)&&M.add($)}return C&&M.size&&(L=[]),M.forEach(function(e){if(-1===O.indexOf(e)){var t=I.get(e);if(t){var r=_.indexOf(e);L.splice(r,0,i.createElement(p,{key:m(t),isPresent:!1,onExitComplete:function(){I.delete(e),M.delete(e);var t=z.current.findIndex(function(t){return t.key===e});if(z.current.splice(t,1),!M.size){if(z.current=A,!1===P.current)return;E(),b&&b()}},custom:y,presenceAffectsLayout:k},t))}}}),L=L.map(function(e){var t=e.key;return M.has(t)?e:i.createElement(p,{key:m(e),isPresent:!0,presenceAffectsLayout:k},e)}),"production"!==s._&&C&&L.length>1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),i.createElement(i.Fragment,null,M.size?L:L.map(function(e){return(0,i.cloneElement)(e)}))}},31729:(e,t,r)=>{r.d(t,{A:()=>u});var n,i=r(37876),s=r(5646),a=r(24418),l=r(14232);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let c=function(e){return l.createElement("svg",o({width:17,height:11,viewBox:"0 0 17 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.23806 9.9217L16.6947 2.49051C17.1019 2.05793 17.1019 1.39622 16.6947 0.988975C16.2876 0.5818 15.6005 0.5818 15.1932 0.988975L8.50006 7.68212L1.80692 0.988975C1.37434 0.5818 0.712628 0.5818 0.305381 0.988975C-0.101794 1.39615 -0.101794 2.05784 0.305381 2.49051L7.73657 9.9217C8.16914 10.3289 8.83086 10.3289 9.2381 9.9217H9.23806Z",fill:"white"})))},u=({title:e,children:t,light:r=!1})=>{let[n,o]=(0,l.useState)(!1);return(0,i.jsxs)("div",{children:[(0,i.jsx)(s.P.div,{onClick:()=>{o(e=>!e)},className:`xl:pt-5.5 lg:pt-4 pt-3.5 xl:pl-8 pl-5 xl:pr-8 pr-5 ${r?"bg-dark-100":"bg-dark"} cursor-pointer ${n?"rounded-t-lg":"rounded-lg "} shadow-main gap-x-2 hover:bg-dark-100 duration-300`,children:(0,i.jsxs)("div",{className:`flex items-center justify-between xl:pb-5.5 gap-x-2 lg:pb-4 pb-3.5 ${n&&"border-b border-dark-100"}`,children:[(0,i.jsx)("p",{className:"tracking-tight text-[16px] leading-8 lg:leading-9 font-medium select-none",children:e}),(0,i.jsx)(c,{className:`ease-out duration-300 origin-center shrink-0 ${n&&"rotate-180"}`})]})}),(0,i.jsx)(a.N,{children:n?(0,i.jsx)(s.P.div,{className:`${r?"bg-dark-300":"bg-dark"} lg:pt-[20px] lg:pb-[22px] py-4 xl:px-[32px] px-[20px] rounded-b-lg`,initial:{opacity:0}
1,animate:{opacity:1,y:0,transition:{duration:.4}},exit:{opacity:0,transition:{duration:.3}},children:(0,i.jsx)("span",{className:"text-dark-700",children:t})}):""})]})}},94203:(e,t,r)=>{r.d(t,{Y:()=>n});let n=e=>{window.Intercom||window.open("mailto:[email protected]"),e?window.Intercom("showNewMessage",e):window.Intercom("show")}},95212:(e,t,r)=>{r.r(t),r.d(t,{default:()=>o});var n=r(37876),i=r(31729),s=r(24628),a=r(94203);let l=[{title:"Do I have to rewrite all my Cypress tests at once?",answer:(0,n.jsx)("div",{children:(0,n.jsx)("p",{children:"No, you can migrate your tests gradually. You can even report both Cypress and Playwright tests to Currents, while you haven't fully migrated."})})},{title:"Can I run Playwright and Cypress side by side?",answer:(0,n.jsx)("div",{children:(0,n.jsx)("p",{children:"Absolutely. You are able to setup separate CI workflows to run both Cypress and Playwright tests. You can keep full visibility by reporting both Cypress and Playwright tests to Currents."})})},{title:"What is Sorry Cypress?",answer:(0,n.jsxs)("div",{children:[(0,n.jsxs)("p",{children:[(0,n.jsx)("a",{href:"https://sorry-cypress.dev",target:"_blank",rel:"noreferrer",children:"Sorry Cypress"}
1)," ","is an open-source solution for parallelization and recording of Cypress tests. It is MIT licensed and has been widely used by organizations of all kinds as an alternative to Cypress Dashboard."]}),(0,n.jsx)("p",{className:"mt-4",children:"Currents was later created as a cost-effective alternative to Cypress Cloud. While we still support Cypress (up to v12), Currents is now fully focused on Playwright"})]})}];function o(){let e=l.slice(0,Math.ceil(l.length/2)),t=l.slice(Math.ceil(l.length/2));return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("section",{className:"py-8 md:py-16 max-w-7xl mx-auto md:px-6 px-5",children:[(0,n.jsx)("h3",{className:"font-semibold lg:text-h3 md:text-h3mdi text-h3mob font-poppins mb-12 text-center",children:"FAQ"}),(0,n.jsxs)("div",{className:"grid lg:grid-cols-2 items-start lg:gap-x-5 xl:gap-x-15 gap-y-3 mt-7.5 md:mt-10 lg:mt-12.5",children:[(0,n.jsx)("div",{className:"grid lg:gap-y-5 gap-y-3",children:e.map(({title:e,answer:t},r)=>(0,n.jsx)(i.A,{title:e,light:!0,children:t},r))}),(0,n.jsxs)("div",{className:"grid lg:gap-y-5 gap-y-3",children:[t.map(({title:e,answer:t},r)=>(0,n.jsx)(i.A,{title:e,light:!0,children:t},r)),(0,n.jsxs)("div",{className:"flex items-center justify-between gap-x-3 lg:text-[20px] text-[16px] leading-6 text-dark-700 pt-6",children:[(0,n.jsx)("p",{children:"Still have unanswered questions?"}),(0,n.jsx)(s.default,{onClick:()=>(0,a.Y)(),children:"Get in touch"})]})]})]})]})})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.