Skip to content

test: improve e2e test stability with polling - #132

Merged
paultursuru merged 1 commit into
mainfrom
specs/improve-tests-stability
Oct 3, 2026
Merged

paultursuru merged 1 commit into
mainfrom
specs/improve-tests-stability

Conversation

@paultursuru

Copy link
Copy Markdown
Owner

Replace fixed waits with polling to handle CSS transitions reliably. Add drawerHeight helper to measure drawer size changes. Add settledGap function that polls until gap measurements stabilize, preventing false passes from mid-transition reads. Add pointOnGreyLine function that finds a clickable point on the route line and polls until coordinates hold steady. These changes make tests more robust to timing variations in loaded test runners.

Replace fixed waits with polling to handle CSS transitions
reliably. Add drawerHeight helper to measure drawer size
changes. Add settledGap function that polls until gap
measurements stabilize, preventing false passes from
mid-transition reads. Add pointOnGreyLine function that
finds a clickable point on the route line and polls until
coordinates hold steady. These changes make tests more
robust to timing variations in loaded test runners.
@paultursuru
paultursuru merged commit 833f0fe into main Oct 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant