This commit is contained in:
Vadim 2023-10-19 00:15:00 +02:00
parent 9dbe46a64c
commit a19d08dcec

View file

@ -7,7 +7,7 @@ Future<void> main() async {
await grantCameraPermission(); await grantCameraPermission();
await integrationDriver( await integrationDriver(
onScreenshot: (name, bytes, [args]) async { onScreenshot: (name, bytes, [args]) async {
final File image = await File('screenshots/TEST_$name.png').create(recursive: true); final File image = await File('screenshots/$name.png').create(recursive: true);
image.writeAsBytesSync(bytes); image.writeAsBytesSync(bytes);
return true; return true;
}, },