Skip to content

Commit f42a15d

Browse files
committed
Added the possibility to use flutter test instead of flutter drive
1 parent 7c8be5f commit f42a15d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/src/flutter/code_generation/generators/gherkin_suite_test_generator.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ class _CustomGherkinIntegrationTestRunner extends GherkinIntegrationTestRunner {
5151
{{feature_functions}}
5252
}
5353
54-
void executeTestSuite({
54+
Future executeTestSuite({
5555
required FlutterTestConfiguration configuration,
5656
required StartAppFn appMainFunction,
5757
Timeout scenarioExecutionTimeout = const Timeout(const Duration(minutes: 10)),
5858
AppLifecyclePumpHandlerFn? appLifecyclePumpHandler,
5959
LiveTestWidgetsFlutterBindingFramePolicy? framePolicy,
60-
}) {
61-
_CustomGherkinIntegrationTestRunner(
60+
}) async {
61+
return _CustomGherkinIntegrationTestRunner(
6262
configuration: configuration,
6363
appMainFunction: appMainFunction,
6464
appLifecyclePumpHandler: appLifecyclePumpHandler,

0 commit comments

Comments
 (0)