Fix screenshot testing for flutter web integration_test (#117114)

* Fix screenshot testing for flutter web integration_test

* update packages

* fix method signature and todo

* Run tests on CI

* fix type

* remove silences

* Add docs

* fix comment

* fix whitespace

* review comments
This commit is contained in:
Kenzie Davisson
2022-12-22 13:34:04 -08:00
committed by GitHub
parent bd482ebc54
commit 725c1415df
9 changed files with 94 additions and 22 deletions

View File

@@ -25,7 +25,7 @@ Future<void> runTestWithScreenshots({
test.integrationDriver(
driver: driver,
onScreenshot: (String screenshotName, List<int> screenshotBytes) async {
onScreenshot: (String screenshotName, List<int> screenshotBytes, [Map<String, Object?>? args]) async {
// TODO(yjbanov): implement, see https://github.com/flutter/flutter/issues/86120
return true;
},