We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Guide to E2E Testing with LiveView and Cypress Using Ecto Sandboxes
5
clicks

Source: danielk.se
The article emphasizes the importance of stability in software releases and the role of end-to-end (E2E) testing in achieving that stability, particularly using Cypress as the testing tool. It highlights challenges such as database state management and slow tests, and proposes using Ecto sandboxes to create isolated, resettable database states for tests. The author details how to set up Ecto sandboxes within a LiveView application, enabling concurrent test runs without interfering with each other. The article also provides example configurations, plug setups, and cleanup procedures to ensure smooth testing workflows, advocating for the speed and efficiency of E2E tests in LiveView compared to other frameworks.
Related posts
© HashMerge 2025