You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import'package:flutter_gherkin/flutter_gherkin.dart';
import'package:gherkin/gherkin.dart';
/// take a screenshot////// Examples:////// `When the screenshot "xxx" is taken/// xxx.png will be taken in screenshot folder///final takeScreenshotStep =when1<String, FlutterWidgetTesterWorld>(
RegExp(r'(?:a|an|the|) screenshot {string} is taken$'),
(screenshotName, context) async {
print("going to step: takeScreenshotStep");
await context.world.appDriver.waitForAppToSettle();
var data =await context.world.appDriver
.screenshot(screenshotName: screenshotName);
await context.world.appDriver.waitForAppToSettle();
},
configuration:StepDefinitionConfiguration()
..timeout =constDuration(seconds:30),
);
No description provided.
The text was updated successfully, but these errors were encountered: