The 'giving all with payment and promise' widget test awaited repo.watchSales().first / watchPlantares().first in its body. A Drift stream's .first never completes under the widget-test fake-async clock (pumpAndSettle has already returned, so dart_test.yaml's per-test timeout can't bound it), so the test hung to the framework's 10-min hard cap. - Read the recorded sale/plantare with one-shot db.select(...).get() queries instead (same filter, resolves fine under fake-async) — the suite now passes in ~1s. - Add a pure-Dart guard test that scans test/ui/ and fails loudly if any awaited watchX().first reappears, so this stops being recurrent. |
||
|---|---|---|
| .. | ||
| data | ||
| db | ||
| domain | ||
| i18n | ||
| security | ||
| services | ||
| state | ||
| support | ||
| tool | ||
| ui | ||
| flutter_test_config.dart | ||
| no_stream_first_in_widget_tests_test.dart | ||