---
title: "Comment by hiroyone on \"Cypress vs Playwright: Which is best for E2E testing?\" | Hashnode"
description: "Hi Cathal, Thank you for sharing your thought. This is great! It seems your team was originally using Cypress but switched to Playwright in the middle. Can you"
url: "https://hashnode.com/posts/cypress-vs-playwright-which-is-best-for-e2e-testing/61ba13ae1fd80e4104704166/comment/623696e2bef4c71aa6f1103e"
---

[Discussion](https://hashnode.com/posts/cypress-vs-playwright-which-is-best-for-e2e-testing/61ba13ae1fd80e4104704166)

Comment [Cypress vs Playwright: Which is best for E2E testing?](https://hashnode.com/posts/cypress-vs-playwright-which-is-best-for-e2e-testing/61ba13ae1fd80e4104704166)

[hiroyone](https://hashnode.com/@hiroyone)

[Mar 20, 2022](https://hashnode.com/posts/cypress-vs-playwright-which-is-best-for-e2e-testing/61ba13ae1fd80e4104704166/comment/623696e2bef4c71aa6f1103e)

Hi Cathal,

Thank you for sharing your thought. This is great!

It seems your team was originally using Cypress but switched to Playwright in the middle. Can you teach me the way you guys migrated and the amount of effort it took?

My team is also currently using Cypress for our enterprise project but cannot imagine the switching path.

Regards,

[Cathal Mac Donnacha](https://hashnode.com/@cathalmacdonnacha)

[Mar 23, 2022](https://hashnode.com/posts/cypress-vs-playwright-which-is-best-for-e2e-testing/61ba13ae1fd80e4104704166/comment/623696e2bef4c71aa6f1103e#reply-623b1c227753c274c2ab520d)

Hey [hiroyone](https://hashnode.com/@hiroyone), thanks for reading!

Thankfully we didn't have a whole lot of tests to convert (maybe 3 test files) so it was really quite easy. I can imagine how difficult it could be if you have a large test suite. We simply looked at each test in Cypress and mimicked the steps in Playwright. For example:

1.  Go to x domain
2.  Click y button
3.  Check the z page is now displayed

Of course, the API and syntax is different so the first thing to do is to learn how to write tests in Playwright via their docs, you'll then be a lot more comfortable when migrating.

Also, there's no need to convert all Cypress tests right away, it's perfectly fine to have both Cypress and Playwright live alongside for a while and migrate one test file at a time. You'll really start to see how much more robust Playwright is.

I just published this article which you can look to for some tips and best practices: [cathalmacdonnacha.com/playwright-e2e-testing-tips…](https://cathalmacdonnacha.com/playwright-e2e-testing-tips-and-best-practices)

Hope that helps!

[hiroyone](https://hashnode.com/@hiroyone)

[Mar 24, 2022](https://hashnode.com/posts/cypress-vs-playwright-which-is-best-for-e2e-testing/61ba13ae1fd80e4104704166/comment/623696e2bef4c71aa6f1103e#reply-623befc17753c274c2ab628b)

[Cathal Mac Donnacha](https://hashnode.com/@cathalmacdonnacha)

Thank you so much for your quick and detailed response.

> Thankfully we didn't have a whole lot of tests to convert (maybe 3 test files)

My team has around 10 files and all of them are somewhat heavy.

> Also, there's no need to convert all Cypress tests right away You absolutely made a good point. I will keep this in mind.

Another team of my company decided to go with Playwright, and we will examine which project goes better in scale.

> I just published this article which you can look to for some tips and best practices: cathalmacdonnacha.com/playwright-e2e-testin..

Looks great! I will read the post throughly.

Best,

[Cathal Mac Donnacha](https://hashnode.com/@cathalmacdonnacha)

[Apr 5, 2022](https://hashnode.com/posts/cypress-vs-playwright-which-is-best-for-e2e-testing/61ba13ae1fd80e4104704166/comment/623696e2bef4c71aa6f1103e#reply-624cc94da5af5143556626b1)

[hiroyone](https://hashnode.com/@hiroyone) Best of luck 👍
