flutter_gherkin library

Classes

AccountSteps
AttachScreenshotOnFailedStepHook
AuthenticationSteps
FlutterDriverReporter
The Flutter driver helpfully logs ALL messages to the stderr output useless something is listening to the messages. This reporter listens to the messages from the driver so nothing is logged to the stderr stream unless it is actually an error. This can cause problems with CI servers for example as they will mark a process as failed if it logs to the stderr stream. So Flutter driver will log a normal info message to the stderr and thus make the process fail from the perspective of a CI server.
FlutterDriverUtils
FlutterTestConfiguration
FlutterWorld
SwipeOnKeyStep
Swipes in a cardinal direction on a widget discovered by its key. [...]
SwipeOnTextStep
Swipes in a cardinal direction on a widget discovered by its test. [...]

Functions

GivenOpenDrawer() StepDefinitionGeneric<World>
Opens the applications main drawer [...]
RestartAppStep() StepDefinitionGeneric<World>
SiblingContainsTextStep() StepDefinitionGeneric<World>
Discovers a widget by its text within the same parent. For example, discovering X while only being aware of Y: Row(children: Text('Y'), Text('X') ) [...]
TapTextWithinWidgetStep() StepDefinitionGeneric<World>
Taps a widget that contains the text within another widget. If the text is not visible, the ancestor will be scrolled. [...]
TapWidgetOfTypeStep() StepDefinitionGeneric<World>
Taps a widget of type. [...]
TapWidgetOfTypeWithinStep() StepDefinitionGeneric<World>
Taps a widget of type within another widget. [...]
TapWidgetWithTextStep() StepDefinitionGeneric<World>
Taps a widget that contains text. [...]
TextExistsStep() StepDefinitionGeneric<World>
Asserts the existence of text on the screen. [...]
TextExistsWithinStep() StepDefinitionGeneric<World>
Asserts the existence of text within a parent widget. [...]
ThenExpectElementToHaveValue() StepDefinitionGeneric<World>
Expects the element found with the given control key to have the given string value. [...]
WaitUntilKeyExistsStep() StepDefinitionGeneric<World>
Waits until a widget is present or absent. [...]
WaitUntilTypeExistsStep() StepDefinitionGeneric<World>
Waits until a widget type is present or absent. [...]
WhenFillFieldStep() StepDefinitionGeneric<World>
Enters the given text into the widget with the key provided [...]
WhenPauseStep() StepDefinitionGeneric<World>
Pauses the execution for the provided number of seconds. Handy when you want to pause to check something. Note: this should only be used during development as having to pause during a test usually indicates timing issues [...]
WhenTapBackButtonWidget() StepDefinitionGeneric<World>
Taps the back button widget [...]
WhenTapWidget() StepDefinitionGeneric<World>
Taps the widget found with the given control key. [...]
WhenTapWidgetWithoutScroll() StepDefinitionGeneric<World>

Enums

BuildMode