My favorite way of writing an e2e test for my UI is using cypress. Cypress makes things very simple and easy to write tests with.
The problem I found with writing tests with cypress is that it takes too long for the test to complete. This in turn creates friction for new developers to do a full-blown e2e test run.
Open-source programmer | Web developer @Paytmlabs | Armchair Economist| Mumbaikar