applyTapExpectDialog method
Future<void>
applyTapExpectDialog(
- dynamic selectorTap,
- AFScreenID dialogScreenId,
- AFTestScreenExecuteDelegate onDialog
Tap on the specified widget, then expect a dialog which you can interact with via the onDialog parameter.
Implementation
Future<void> applyTapExpectDialog(dynamic selectorTap, final AFScreenID dialogScreenId, AFTestScreenExecuteDelegate onDialog) async {
await applyTap(selectorTap);
await pauseForRender();
await this.underScreen(dialogScreenId, () async {
await onDialog(this);
});
}