When I tap the element identified as "favorite-5"

Tap the element the app gives an identifier (its widget's Semantics(identifier: ...)): the hook a developer adds for tests, kept in a release build.

Examples

When I tap the element identified as "favorite-5"
When I tap the element identified as "increment"
And I tap the element identified as "submit"
When we tap the element identified as "story-done"
When I tap the element identified as "favorites-tab"

Pattern

When(/^(?:I |we )?tap the element identified as "([^"]*)"$/, …)

Part of @webship-js/flutter-steps (github.com/webship/flutter-steps), a step pack for Webship-js 2.0.x.