Tap a control of a dialog of the app, by its name: the step waits for the dialog, taps the control in it with a real pointer, and waits until the app has settled (a dialog that closes goes after an animation).
Examples
When I tap "Done" in the "Your story" dialog
When I tap "Okay" in the "What is a dialog?" dialog
And I tap "Dismiss" in the "What is a dialog?" dialog
When we tap "Close" in the "Full-screen dialog" dialog
When I tap "Done" in the "Your story" dialog
Pattern
When(/^(?:I |we )?tap "([^"]*)" in the "([^"]*)" dialog$/, …)
Part of @webship-js/flutter-steps (github.com/webship/flutter-steps), a step pack for Webship-js 2.0.x.