End-to-End tests for fullstack examples
See original GitHub issueAdd end-to-end tests using Playwright, preferably for fullstack examples.
This would boost our confidence in the applications.
- Let’s save the test inside https://github.com/prisma/prisma-examples/tree/latest/.github/tests. You can create a new folder called e2e and call the file
test.spec.ts
(just a suggestion) - Once the test is ready, update the relevant bash scripts in https://github.com/prisma/prisma-examples/tree/latest/.github/tests/javascript and https://github.com/prisma/prisma-examples/tree/latest/.github/tests/typescript by adding the command to run the script
npx playwright test __PATH_TO_TEST_/test.spec.ts
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Full Stack Testing: Balancing Unit and End-to-End Tests - InfoQ
These tests involve creating an instance of a class and calling methods on it with specific inputs. You assert that the methods you...
Read more >Fullstack part5 | End to end testing
So far we have tested the backend as a whole on an API level using integration tests, and tested some frontend components using...
Read more >What is End To End Testing? - BrowserStack
Explore end to end testing, a software testing technique that tests an application's workflow from beginning to end in real user scenarios.
Read more >What is End to End Testing? Guide to E2E Testing - Functionize
Since end-to-end testing employs a full stack testing methodology, there are several benefits that organizations can expect in terms of overall ...
Read more >3 Best Practices For End-To-End Testing - Stackify
A horizontal E2E test will consider the application as a whole, meaning the entire application across multiple systems. This type of E2E testing...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OK, I will start working on first full stack example. Wish me luck with my first contribution in Prisma world 😃
That’s correct. It’ll be just a single file with groups of tests 🙂