fix: Android E2E aliceTile race + bundle deploy-android infra
The Android UI integration test failed at tap(aliceTile) with "0 widgets" even though pumpUntil had just found the tile. On the slow software-rendered emulator the route-pop animation finalises during pumpUntil's trailing 300 ms settle, briefly leaving the tile out of the tree. Re-confirm with a second pumpUntil before the tap. Bundles the previously uncommitted infra changes that make task deploy-android run end-to-end inside nix develop: Linux desktop runtime libs + GL software rendering env in flake.nix, path_provider_android pin to <2.3 to avoid the libdartjni SIGSEGV, deferred DB-path resolution after WidgetsFlutterBinding, +iglx for xvfb-run, platform-tools on PATH, and a single pre-commit script replacing the dart-format / task-check-fast pair. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
d2226388d7
commit
2e2b7c3d9f
@@ -94,6 +94,9 @@ ts "flutter test start"
|
||||
# xvfb-run provides a virtual framebuffer so the Flutter Linux runner has a
|
||||
# display without requiring a real desktop session. No D-Bus or keyring daemon
|
||||
# is needed because the integration tests inject an in-memory SecureStorage.
|
||||
xvfb-run --auto-servernum fvm flutter test integration_test/ -d linux
|
||||
# +iglx enables indirect GLX on Xvfb so Flutter/GTK3 can create an OpenGL context
|
||||
# using mesa's software renderer (LIBGL_ALWAYS_SOFTWARE=1 is set in flake.nix).
|
||||
xvfb-run --auto-servernum --server-args="-screen 0 1280x720x24 +iglx" \
|
||||
fvm flutter test integration_test/ -d linux
|
||||
|
||||
ts "flutter test done"
|
||||
|
||||
Reference in New Issue
Block a user