Skip to content

Improve: wait for widget frames and animations instead of fixed pauses in end-to-end tests - #578

Merged
SandObserver merged 1 commit into
mainfrom
chore/e2e-wait-for-events
Oct 27, 2026
Merged

SandObserver merged 1 commit into
mainfrom
chore/e2e-wait-for-events

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • Add widgetFramesLoaded to the e2e helpers: resolves once every widget frame has loaded its widget document.
  • Replace the fixed waits before counting widget loads in two dashboard specs with widgetFramesLoaded, and use it in the wheel paging setup.
  • Replace the fixed waits before reading live regions in the tile names spec with animationsDone.
  • The remaining fixed waits prove that nothing further happens and stay.

Testing
All green, including the full e2e suite in Chromium and WebKit.

Changelog

Checklist

  • Stays within the project constraints: one container, no runtime dependencies, no build step (see CONTRIBUTING.md).
  • Tests added or updated for new logic, and the full suite, lint, and typechecks pass.
  • Docs updated if behavior or configuration changed.

@SandObserver SandObserver added the refractor Code improvement / cleanup, no behavior change label Oct 27, 2026
@SandObserver
SandObserver merged commit 1b432b1 into main Oct 27, 2026
6 checks passed
@SandObserver
SandObserver deleted the chore/e2e-wait-for-events branch October 27, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refractor Code improvement / cleanup, no behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant