JevisAction class
A declared ability, not a prescribed step. Descriptions go to Jevis unchanged.
Constructors
- JevisAction.adjustSlider(String description, {String? key, Finder? finder, required JevisSliderDirection direction, int steps = 1, bool availableWhen()?, JevisWait? waitFor})
- Uses actual Slider semantics, not direct callbacks or assumed track geometry. Each step is one division, or Flutter's default continuous-slider increment.
- JevisAction.clearText(String description, {String? key, Finder? finder, bool availableWhen()?, JevisWait? waitFor})
-
JevisAction.custom(String description, {required Future<
void> run(WidgetTester), bool availableWhen()?, JevisWait? waitFor}) - JevisAction.doubleTap(String description, {String? key, Finder? finder, bool availableWhen()?, JevisWait? waitFor})
- JevisAction.drag(String description, {String? key, Finder? finder, required Offset offset, Duration duration = const Duration(milliseconds: 500), bool availableWhen()?, JevisWait? waitFor})
- A timed pointer drag. Offset determines direction/distance, duration speed.
- JevisAction.dragTo(String description, {String? key, Finder? finder, String? destinationKey, Finder? destination, Duration duration = const Duration(milliseconds: 500), Duration holdDuration = Duration.zero, bool availableWhen()?, JevisWait? waitFor})
- Drags between current target centers; optionally holds before moving.
- JevisAction.enterText(String description, {String? key, Finder? finder, required String value, bool availableWhen()?, JevisWait? waitFor})
- Replaces the entire current input value.
- JevisAction.focus(String description, {String? key, Finder? finder, bool availableWhen()?, JevisWait? waitFor})
- Focuses one EditableText or a widget containing exactly one EditableText.
- JevisAction.keyboardAction(String description, {String? key, Finder? finder, required TextInputAction action, bool availableWhen()?, JevisWait? waitFor})
- Focuses the input, then delivers its IME action (done, search, next, etc.).
- JevisAction.longPress(String description, {String? key, Finder? finder, Duration duration = const Duration(milliseconds: 650), bool availableWhen()?, JevisWait? waitFor})
- JevisAction.scroll(String description, {String? key, Finder? finder, Offset offset = const Offset(0, -300), bool availableWhen()?, JevisWait? waitFor})
- JevisAction.selectOption(String description, {String? key, Finder? finder, required Finder option, bool availableWhen()?, JevisWait? waitFor})
- Opens a dropdown/menu and selects an explicitly identified mounted option.
- JevisAction.tap(String description, {String? key, Finder? finder, bool availableWhen()?, JevisWait? waitFor})
- JevisAction.wait({String description = 'Wait for the screen to update', Duration duration = const Duration(milliseconds: 300), bool availableWhen()?, JevisWait? waitFor})
- JevisAction.waitUntil(String description, {required JevisWait condition, bool availableWhen()?})
Properties
- availableWhen → bool Function()?
-
final
-
callback
→ Future<
void> Function(WidgetTester)? -
final
- description → String
-
final
- destination → Finder?
-
final
- duration → Duration
-
final
- finder → Finder?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- holdDuration → Duration
-
final
- keyboard → TextInputAction?
-
final
- offset → Offset?
-
final
- option → Finder?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sliderDirection → JevisSliderDirection?
-
final
- steps → int
-
final
- value → String?
-
final
- waitFor → JevisWait?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited