Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Image Assets are not loaded in driver tests for me on v1.5.4-hotfix.2 #35720
All images assets load from local assets dir is not displayed while running thru flutter drive where I wanna run some integration tests. iOS Simulator, Android/iOS devices all failed to show images.
Doctor summary (to see all details, run flutter doctor -v):
• No issues found!
changed the title
Assets are not loaded in driver tests for me on v1.5.4-hotfix.2
Jul 9, 2019
@chunhtai Logs are as followed:
leishuaideMacBook-Pro:feed_flutter leishuai$ flutter drive --target=test_driver/app.dart
├─Assembling Flutter resources... 2.7s
Besides again, such code works using PlatformAssetBundle. It can display the correct image.
ByteData byteData = await PlatformAssetBundle().load('assets/images/user_default_avatar.png');
It seems loadString/loadStructuredData's future never calls the 'then callback'