Skip to content

Conversation

mcollovati
Copy link
Contributor

Introduce a test-only TestSignalEnvironment that captures all Signals-related tasks when no VaadinSession/VaadinService is available (e.g., background threads).
Tests can deterministically flush these tasks via new runPendingSignalsTasks helpers in BaseUIUnitTest.

Fixes #1968

Copy link

github-actions bot commented Oct 13, 2025

Test Results

  155 files  +1    155 suites  +1   14m 1s ⏱️ - 19m 21s
1 145 tests +6  1 139 ✅ +7  6 💤 ±0  0 ❌ ±0 
1 515 runs  +6  1 509 ✅ +7  6 💤 ±0  0 ❌ ±0 

Results for commit dd858d0. ± Comparison against base commit 1312331.

♻️ This comment has been updated with latest results.

Introduce a test-only TestSignalEnvironment that captures all Signals-related
tasks when no VaadinSession/VaadinService is available (e.g., background
threads).
Tests can deterministically flush these tasks via new runPendingSignalsTasks
helpers in BaseUIUnitTest.

Fixes #1968
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.

Make sure UI unit tests using signals work out of the box.

1 participant