-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: regressionIt was better in the past than it is nowIt was better in the past than it is nowe: wasmIssues related to the wasm build of Flutter Web.Issues related to the wasm build of Flutter Web.found in release: 3.37Found to occur in 3.37Found to occur in 3.37has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-webTriaged by Web platform teamTriaged by Web platform team
Description
Steps to reproduce
- Switch to beta channel
- Create a new project with web and wasm support
- Run
flutter test --platform chrome --wasm - Observe tests hanging
Expected results
Tests are run and complete properly.
Actual results
The command hangs without running any tests.
Code sample
Use the sample without any code changes:
flutter create --platform web
Screenshots or Video
No response
Logs
Logs
Resolving dependencies...
Downloading packages...
characters 1.4.0 (1.4.1 available)
material_color_utilities 0.11.1 (0.13.0 available)
Got dependencies!
2 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Generated wasm module '/var/folders/j3/t34c12bj24q4fm0xrwmq63vh0000gp/T/flutter_tools.DsLQWR/flutter_test.jyrja3/main.dart.wasm', and JS init file '/var/folders/j3/t34c12bj24q4fm0xrwmq63vh0000gp/T/flutter_tools.DsLQWR/flutter_test.jyrja3/main.dart.mjs'.
03:52 +0: loading /Users/jeff.ward/Projects/wasm_test/test/widget_test.dart ^No tests ran.When using FVM to switch to beta I also get a log specifying "Invalid SDK Hash"
Flutter Doctor output
Doctor output
[✓] Flutter (Channel beta, 3.37.0-0.1.pre, on macOS 15.7.1 24G231 darwin-arm64, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 16.4)
[✓] Chrome - develop for the web
[✓] Connected device (4 available)
[✓] Network resources
! Doctor found issues in 1 category.justinmc
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: regressionIt was better in the past than it is nowIt was better in the past than it is nowe: wasmIssues related to the wasm build of Flutter Web.Issues related to the wasm build of Flutter Web.found in release: 3.37Found to occur in 3.37Found to occur in 3.37has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-webTriaged by Web platform teamTriaged by Web platform team