chore(steps): added more options to element visible step
This commit is contained in:
parent
9d88ac1b7a
commit
af1a3c7ec8
File diff suppressed because one or more lines are too long
|
@ -16,7 +16,7 @@ class ThenExpectWidgetToBePresent
|
|||
extends When2WithWorld<String, int, FlutterWorld> {
|
||||
@override
|
||||
RegExp get pattern => RegExp(
|
||||
r"I expect the (?:button|element|label|icon|field|text|widget) {string} to be present within {int} second(s)$");
|
||||
r"I expect the (?:button|element|label|icon|field|text|widget|dialog|popup) {string} to be present within {int} second(s)$");
|
||||
|
||||
@override
|
||||
Future<void> executeStep(String key, int seconds) async {
|
||||
|
|
Loading…
Reference in New Issue