SwipeOnKeyStep class

Swipes in a cardinal direction on a widget discovered by its key.

Examples:

Then I swipe up by 800 pixels on the "login_screen" Then I swipe left by 200 pixels on the "dismissible_list_item"

Inheritance

Constructors

SwipeOnKeyStep()

Properties

config StepDefinitionConfiguration
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
pattern RegExp
read-only, override
reporter Reporter
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
timeout Duration
read-only, inherited
world FlutterWorld
read-only, inherited

Methods

executeStep(SwipeDirection direction, int swipeAmount, String key) Future<void>
override
expect(dynamic actual, dynamic matcher, {String reason}) → void
inherited
expectA(dynamic actual, dynamic matcher, {String reason}) → void
inherited
expectMatch(dynamic actual, dynamic matcher, {String reason}) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onRun(Iterable parameters) Future<void>
inherited
run(FlutterWorld world, Reporter reporter, Duration defaultTimeout, Iterable parameters) Future<StepResult>
inherited
swipeOnFinder(SerializableFinder finder, SwipeDirection direction, int swipeAmount) Future<void>
@protected, inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited