JCEF E2E tests with Playwright (Example)

I recently started adding E2E tests to my plugin, which includes an interactive JCEF panel that interacts with the rest of the IDE and I figured the best way to test the actual browser surface would be with Playwright and so far I’ve found this pattern to be crucial to my test suite.

Since we could all use benefit from more examples of useful patterns, I had an agent extract the general pattern into a standalone demo plugin + e2e test setup that exercises plugin’s JCEF tool window via Playwright.

You can check out the example here if it’s useful to your own plugin testing workflow: