AFSingleScreenTestExecute class abstract
- Inheritance
-
- Object
- AFModelWithCustomID
- AFScreenTestExecute
- AFSingleScreenTestExecute
- Implementers
Constructors
Properties
- activeScreenId → AFScreenID
-
no setteroverride
-
activeScreenIDs
→ List<
AFScreenID> -
finalinherited
- activeSelectorPath → AFSparsePathWidgetSelector?
-
no setterinherited
- currentSection ↔ AFID?
-
getter/setter pairinherited
- currentTime → AFTimeState
-
no setterinherited
- customStateId → String?
-
finalinherited
- defaultErrors ↔ AFTestErrors
-
getter/setter pairinherited
- deviceIsLandscapeTablet → bool
-
no setterinherited
- deviceIsPhone → bool
-
no setterinherited
- deviceIsTablet → bool
-
no setterinherited
- errors → AFTestErrors
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- log → Logger?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sectionErrors
→ Map<
AFID, AFTestErrors> -
finalinherited
- slowOnScreenMillis ↔ int
-
getter/setter pairinherited
- test → AFScreenPrototype?
-
no setterinherited
- testId ↔ AFBaseTestID
-
getter/setter pairinherited
- testID → AFBaseTestID
-
no setterinherited
-
underPaths
→ List<
AFSparsePathWidgetSelector?> -
finalinherited
- validate ↔ bool
-
getter/setter pairinherited
Methods
-
addError(
String desc, int depth) → void -
inherited
-
addPassIf(
{required bool test}) → bool -
inherited
-
addWarning(
String desc) → void -
inherited
-
applyEnterText(
dynamic selector, dynamic value, {int maxWidgets = 1, int extraFrames = 0, AFUIVerifyDelegate? verify, bool ignoreUnderWidget = false}) → Future< void> -
inherited
-
applySetSwitch(
dynamic selector, {required bool enabled}) → Future< void> -
inherited
-
applySwipeDismiss(
dynamic selector, {int maxWidgets = 1, int extraFrames = 0, AFUIVerifyDelegate? verify, bool ignoreUnderWidget = false}) → Future< void> -
inherited
-
applyTap(
dynamic selector, {int extraFrames = 0, dynamic tapData, AFUIVerifyDelegate? verify, bool ignoreUnderWidget = false}) → Future< void> -
inherited
-
applyTapExpectDialog(
dynamic selectorTap, AFScreenID dialogScreenId, AFTestScreenExecuteDelegate onDialog) → Future< void> -
Tap on the specified widget, then expect a dialog which you can interact with via the onDialog parameter.
inherited
-
applyTapExpectModalBottomSheet(
dynamic selectorTap, AFScreenID dialogScreenId, AFTestScreenExecuteDelegate onSheet) → Future< void> -
Tap on the specified widget, then expect a dialog which you can interact with via the onSheet parameter.
inherited
-
applyWidgetValue(
dynamic selector, dynamic value, String applyType, {AFUIVerifyDelegate? verify, int maxWidgets = 1, int extraFrames = 0, bool ignoreUnderWidget = false}) → Future< void> -
inherited
-
debugSlowOnScreen(
Future< void> f(), {int delayMillis = 500}) → Future<void> -
A debugging utility which slows down every widget lookup in a test under the function
f.inherited -
deviceHasFormFactor(
{AFFormFactor? atLeast, AFFormFactor? atMost, Orientation? withOrientation}) → bool -
inherited
-
disableValidation(
) → void -
inherited
-
enableValidation(
) → void -
inherited
-
endSection(
) → void -
inherited
-
expect(
dynamic value, Matcher matcher, {int extraFrames = 0}) → void -
inherited
-
expectWidgetIds(
List< Widget> widgets, List<AFWidgetID?> ids, {AFWidgetMapperDelegate? mapper}) → void -
inherited
-
findElementsFor(
dynamic selector, {required bool shouldScroll, required bool ignoreUnderWidget}) → Future< List< Element> > -
inherited
-
indentOutput(
) → void -
inherited
-
isEnabled(
AFBaseTestID id) → bool -
override
-
markDebugStopHereWarning(
) → void -
inherited
-
markDisabled(
AFScreenTestBody body) → void -
inherited
-
markDisabledSimple(
String disabled) → void -
inherited
-
matchChipSelected(
dynamic selector, {required bool selected}) → Future< Widget> -
Expect that a Chip is selected or not selected.
inherited
-
matchChipsSelected(
List selectors, {required bool selected}) → Future< void> -
inherited
-
matchDirectChildrenOf(
dynamic selector, {List< AFWidgetID?> ? expectedIds, bool shouldScroll = true, bool ignoreUnderWidget = false, AFFilterWidgetDelegate? filterWidgets}) → Future<List< Widget> > -
inherited
-
matchMissingWidget(
dynamic selector, {bool ignoreUnderWidget = false}) → Future< void> -
Verifies the specified widget is not present.
inherited
-
matchSwitch(
dynamic selector, {required bool enabled}) → Future< Switch> -
inherited
-
matchText(
dynamic selector, Matcher matcher) → Future< Widget> -
inherited
-
matchTextEquals(
dynamic selector, String text) → Future< Widget> -
inherited
-
matchWidget<
TWidget extends Widget> (dynamic selector, {bool shouldScroll = true, bool ignoreUnderWidget = false}) → Future< TWidget?> -
inherited
-
matchWidgets(
dynamic selector, {int? expectedCount, bool scrollIfMissing = true, bool ignoreUnderWidget = false, int extraFrames = 0}) → Future< List< Widget> > -
inherited
-
matchWidgetValue(
dynamic selectorDyn, Matcher matcher, {bool scrollIfMissing = true, bool ignoreUnderWidget = false, String extractType = AFExtractWidgetAction.extractPrimary, int extraFrames = 0}) → Future< Widget> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
outdentOutput(
) → void -
inherited
-
pauseForRender(
) → Future< void> -
inherited
-
popScreen(
) → void -
inherited
-
printFailMessages(
AFCommandOutput output) → int -
inherited
-
printFinishTest(
AFID id) → void -
inherited
-
printFinishTestDisabled(
AFID id, String disabled) → void -
inherited
-
printPassMessages(
AFCommandOutput output, AFTestStats stats, {String? testIdOutput}) → void -
inherited
-
printStartTest(
AFID id) → void -
inherited
-
printTestTitle(
AFID id) → void -
inherited
-
pushScreen(
AFScreenID screen) → void -
inherited
-
setValue(
dynamic selector, dynamic value, {int maxWidgets = 1, int extraFrames = 0, AFUIVerifyDelegate? verify, bool ignoreUnderWidget = false}) → Future< void> -
inherited
-
startSection(
AFID id, {bool resetSection = false}) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
underScreen(
AFScreenID screen, Function underHere) → Future< void> -
inherited
-
underWidget(
dynamic selector, Future< void> underHere()) → Future<void> -
Any operations applied within the
underHerecallback operate on widgets which are nested underselector.inherited -
updateStateViews(
dynamic data) → Future< void> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited