Repository navigation
Inlining a SurfaceView in a PlatformView in a Flutter hierarchy should have an automated test #100669
Description
Activity
- addeda: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsplatform-androidAndroid applications specificallyAndroid applications specificallya: qualityA truly polished experienceA truly polished experiencea: platform-viewsEmbedding Android/iOS views in Flutter appsEmbedding Android/iOS views in Flutter appscustomer: googleVarious Google teamsVarious Google teamsc: tech-debtTechnical debt, code quality, testing, etc.Technical debt, code quality, testing, etc.
on Mar 24, 2022 In this specific issue, SurfaceView is embedded in a Flutter app.
SurfaceViews can't be drawn to a Canvas for the purpose of detecting what and where that view is rendered.https://github.com/flutter/flutter/tree/master/packages/integration_test#screenshots should be able to help here.
offline conversation with jreck: this needs to use
UiAutomation#takeScreenshot(), and remove the status/navigation bars- changed the title
[-]Inlining a PlatformView in a Flutter hierarchy should have an automated test[/-][+]Inlining a SurfaceView in a PlatformView in a Flutter hierarchy should have an automated test[/+]on Mar 24, 2022 Understood. Thanks. I was wondering, since we seem to have a bunch of platform view tests in the engine already.
Closing in favor of #97853. That issue is tracking missing integration tests.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Apr 7, 2022
We need an integration test to cover cases like b/226467394