chore(steps): added more options to element visible step

This commit is contained in:
Jon Samwell 2020-01-17 10:58:02 +11:00
parent 9d88ac1b7a
commit af1a3c7ec8
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -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 {