prisma / prisma-examples

🚀 Ready-to-run Prisma example projects
https://www.prisma.io/docs/
Apache License 2.0
6.1k stars 1.42k forks source link

End-to-End tests for fullstack examples #3059

Open ruheni opened 3 years ago

ruheni commented 3 years ago

Add end-to-end tests using Playwright, preferably for fullstack examples.

This would boost our confidence in the applications.

pshaddel commented 3 years ago

Hi @ruheni I would like to help solve this issue for some of the examples. What is your opinion about using Cypress?

ruheni commented 3 years ago

Hey @pshaddel,

That's awesome! I would prefer Playwright because it doesn't require any configuration to run

pshaddel commented 3 years ago

OK, I will start working on first full stack example. Wish me luck with my first contribution in Prisma world :)

pshaddel commented 3 years ago

Thanks for the heads up. I took a look at the documentation of playwright. I think we are going to use @playwright/test and we are not going to use third parties like jest or jasmine.

ruheni commented 3 years ago

That's correct. It'll be just a single file with groups of tests 🙂