Uploaded June 2026 | Updated September 2026, 1 week ago
This is a companion video for the blog post "When It Reloads" glebbahmutov.com/blog/when-it-reloads that shows two common sources of flake:
- running multiple E2E test commands without checking if the application has finished processing the actions
- checking the URL and assuming the route change has finished rendering
To solve the test flake, we insert additional assertions between the commands, but we make sure to check the DOM and not just the URL. This ensures the app has finished rendering in response to the navigation. Find the full source code in repo github.com/bahmutov/delayed-reload
This is a companion video for the blog post "When It Reloads" glebbahmutov.com/blog/when-it-reloads that shows two common sources of flake:
- running multiple E2E test commands without checking if the application has finished processing the actions
- checking the URL and assuming the route change has finished rendering
To solve the test flake, we insert additional assertions between the commands, but we make sure to check the DOM and not just the URL. This ensures the app has finished rendering in response to the navigation. Find the full source code in repo github.com/bahmutov/delayed-reload










