flutter_gherkin library Null safety
Classes
-
AppDriverAdapter<
TNativeAdapter, TFinderType, TWidgetBaseType> - AttachScreenshotOnFailedStepHook
- FlutterTestConfiguration
-
FlutterTypedAdapterWorld<
TDriver, TFinder, TWidget> -
The world object that can be used to store state during a single test.
It also allows interaction with the app under test through the
appDriver
which exposes an instance ofAppDriverAdapter
and a typed instance ofTDriver
of the actual class that is able to interact with the app under test - FlutterWidgetTesterWorld
-
The world object that can be used to store state during a single test.
It also allows interaction with the app under test through the
appDriver
which exposes an instance ofAppDriverAdapter
and an instance ofWidgetTester
via the propertyrawAppDriver
- FlutterWorld
-
The world object that can be used to store state during a single test.
It also allows interaction with the app under test through the
appDriver
which exposes an instance ofAppDriverAdapter
- GherkinIntegrationTestRunner
- GherkinTestSuite
- An annotation used to specify a class to generate Gherkin tests that adhere to the style required by the integration_test package
- 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.
- TestDependencies
- WidgetTesterAppDriverAdapter
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>