debug
This commit is contained in:
parent
46b9efda9f
commit
9b817676e4
|
@ -13,7 +13,8 @@ StepDefinitionGeneric tapWidgetWithTextStep() {
|
|||
RegExp(
|
||||
r'I tap the (?:button|element|label|field|text|widget) that contains the text {string}$'),
|
||||
(input1, context) async {
|
||||
final finder = context.world.appDriver.findBy(input1, FindType.text).last;
|
||||
final finder = context.world.appDriver.findBy(input1, FindType.text);
|
||||
print("to tap: $finder");
|
||||
await context.world.appDriver.scrollIntoView(finder);
|
||||
await context.world.appDriver.tap(finder);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue