When It Reloads @gleb
When It Reloads  @gleb
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
When It ReloadsCheck Every Box In Cypress Tests Without FlakeSee All Chrome Browser Command Line Flags Cypress Uses To Launch The BrowserAdd Random Todo Examplecypress-magic-backend And Your Test Network InterceptsCypress Grep UI Plugins With Dennis BergevinGitHub Copilot Vs Cursor AI: Change Comments Into Commands ExampleGitHub Copilot Agent ModeRetry Network RequestsText VariantsLesson n2: Table Pagination SolutionText Changes And The Static Alias
gleb bahmutov |

When It Reloads

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER