So this mini-rant is to say that I don't think the problem with system/e2e tests is necessarily that they don't use the browser's APIs. It is baffling why stuff like Playwright created its own, but the real problem is that when these tests fail, it's really hard to debug, and often critical information used by the framework to locate elements or assert stuff is hidden away from the developer, impossible to access.
↧