applyTapExpectModalBottomSheet method

Future<void> applyTapExpectModalBottomSheet(
  1. dynamic selectorTap,
  2. AFScreenID dialogScreenId,
  3. AFTestScreenExecuteDelegate onSheet
)

Tap on the specified widget, then expect a dialog which you can interact with via the onSheet parameter.

Implementation

Future<void> applyTapExpectModalBottomSheet(dynamic selectorTap, final AFScreenID dialogScreenId, AFTestScreenExecuteDelegate onSheet) async {
  await applyTap(selectorTap);
  await pauseForRender();

  await this.underScreen(dialogScreenId, () async {
    await onSheet(this);
  });
}