PS D:\Dev\Temp Projects\webtestapp> flutter test -v --platform chrome
[ +1 ms] executing: [D:\Dev\Google\Flutter\Flutter main/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +30 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] b007899d3a7a072e880e3984856c777cc9c5082b
[ ] executing: [D:\Dev\Google\Flutter\Flutter main/] git tag --points-at b007899d3a7a072e880e3984856c777cc9c5082b
[ +30 ms] Exit code 0 from: git tag --points-at b007899d3a7a072e880e3984856c777cc9c5082b
[ ] executing: [D:\Dev\Google\Flutter\Flutter main/] git describe --match *.*.* --long --tags b007899d3a7a072e880e3984856c777cc9c5082b
[ +90 ms] Exit code 0 from: git describe --match *.*.* --long --tags b007899d3a7a072e880e3984856c777cc9c5082b
[ ] 3.29.0-0.0.pre-148-gb007899d3a
[ +1 ms] executing: [D:\Dev\Google\Flutter\Flutter main/] git symbolic-ref --short HEAD
[ +25 ms] Exit code 0 from: git symbolic-ref --short HEAD
[ ] master
[ +49 ms] executing: [D:\Dev\Google\Flutter\Flutter main/] git rev-parse --abbrev-ref --symbolic @{upstream}
[ +25 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[ ] origin/master
[ ] executing: [D:\Dev\Google\Flutter\Flutter main/] git ls-remote --get-url origin
[ +24 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] git@github.com:DanTup/flutter.git
[ +90 ms] Found 1 files which will be executed as Widget Tests.
[ +3 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +20 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +20 ms] Skipping pub get: version match.
[ +74 ms] Generating D:\Dev\Temp Projects\webtestapp\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +263 ms] No packages with native assets. Skipping native assets compilation.
[ +2 ms] Writing native assets json to file:///D:/Dev/Temp%20Projects/webtestapp/build/native_assets/windows/native_assets.json.
[ +1 ms] Writing D:\Dev\Temp Projects\webtestapp\build\native_assets\windows\native_assets.json done.
[ +52 ms] Stopping scan for flutter_test_config.dart; found project root at D:\Dev\Temp Projects\webtestapp
[ +4 ms] D:\Dev\Google\Flutter\Flutter main\bin\cache\dart-sdk\bin\dartaotruntime.exe D:\Dev\Google\Flutter\Flutter
main\bin\cache\dart-sdk\bin\snapshots\frontend_server_aot.dart.snapshot --sdk-root D:\Dev\Google\Flutter\Flutter main\bin\cache\flutter_web_sdk/
--incremental --target=dartdevc --experimental-emit-debug-metadata -DFLUTTER_WEB_USE_SKIA=true -DFLUTTER_WEB_USE_SKWASM=false --output-dill
C:\Users\danny\AppData\Local\Temp\flutter_tools.dab1be9f\flutter_test.8458c2a8\out --packages D:\Dev\Temp
Projects\webtestapp\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation
--filesystem-root D:\Dev\Temp Projects\webtestapp\test --filesystem-root
C:\Users\danny\AppData\Local\Temp\flutter_tools.dab1be9f\flutter_test.8458c2a8\ --filesystem-scheme org-dartlang-app --initialize-from-dill
build\80b1a4cf4e7b90e1ab5f72022a0bc624.cache.dill.track.dill --platform
file:///D:/Dev/Google/Flutter/Flutter%20main/bin/cache/flutter_web_sdk/kernel/ddc_outline_sound.dill --verbosity=error --sound-null-safety
[ +6 ms] <- compile org-dartlang-app:///main.dart
00:00 +0: loading D:/Dev/Temp Projects/webtestapp/test/widget_test.dart [+5415 ms] Loading test suite test\widget_test.dart.
[ ] Serving tests at http://localhost:65227/static/index.html?managerUrl=ws%3A%2F%2Flocalhost%3A65227%2F0&debug=false
[ ] Launching Chromium (url = http://localhost:65227/static/index.html?managerUrl=ws%3A%2F%2Flocalhost%3A65227%2F0&debug=false, headless =
true, skipCheck = false, debugPort = null)
[ ] Will use Chromium executable at C:\Program Files\Google\Chrome\Application\chrome.exe
[ +91 ms] [CHROME]:
[ ] [CHROME]: DevTools listening on ws://127.0.0.1:65229/devtools/browser/9fd6810e-f331-4c95-823e-ae63e856435e
[ +169 ms] Running test suite test\widget_test.dart.
00:22 +0: loading D:/Dev/Temp Projects/webtestapp/test/widget_test.dart
Steps to reproduce
On Windows:
flutter create webtestappcd webtestappflutter test --platform chromeExpected results
The test should run and complete.
Actual results
The test never runs, the output stalls forever (or at least longer than I've had the patience to wait) on "loading D:/Dev/Temp Projects/webtestapp/test/widget_test.dart".
With
-v:Note: I do see a Chrome process spawned that is presumably the headless version that should be running the tests:
I see this on my local PC, but also on GitHub Actions where I was trying to enable Windows tests for DevTools.
Code sample
Code sample
No code required, just use the default
flutter createapp as noted in steps to reproduce.Screenshots or Video
Screenshots / Video demonstration
Logs
Logs
Flutter Doctor output
Doctor output