forked from firka/flutter
[flutter_driver] use mostly public screenshot API. (#157888)
Instead of completely private. This has been broken for Impeller for years, which shows how much this method is getting used. Fixes https://github.com/flutter/flutter/issues/130461
This commit is contained in:
@@ -131,6 +131,17 @@ TaskFunction createEndToEndKeyboardTextfieldTest() {
|
||||
).call;
|
||||
}
|
||||
|
||||
TaskFunction createSolidColorTest({required bool enableImpeller}) {
|
||||
return DriverTest(
|
||||
'${flutterDirectory.path}/dev/integration_tests/ui',
|
||||
'lib/solid_color.dart',
|
||||
extraOptions: <String>[
|
||||
if (enableImpeller)
|
||||
'--enable-impeller'
|
||||
]
|
||||
).call;
|
||||
}
|
||||
|
||||
TaskFunction dartDefinesTask() {
|
||||
return DriverTest(
|
||||
'${flutterDirectory.path}/dev/integration_tests/ui',
|
||||
|
||||
Reference in New Issue
Block a user