You have already seen how namespaces and coding standards, and adding automated unit tests can increase your confidence that your project works as intended. But there’s another layer worth adding: end-to-end (E2E) tests. They let you test your project from a different angle, covering cases that unit tests can’t. In this article, you’ll learn how to set up Playwright for WordPress E2E testing and write tests that cover block variations, block patterns, and the front-end after setting things up with the REST API.