automated_testing_framework_plugin_flow_control library

Classes

AssertVariableValueForm
AssertVariableValueStep
Test step that asserts that the value within variableName equals (or does not equal) a specific value.
CancelTestForm
CancelTestStep
Test step that will cancel the test and prevent future steps from executing.
ClearVariablesForm
ClearVariablesStep
Test step that asserts that the value equals (or does not equal) a specific value.
ConditionalForm
ConditionalStep
Test step that will execute a sub-step based on whether the variableName does or does not equal whenTrue or whenFalse.
ConditionalWidgetExistsForm
ConditionalWidgetExistsStep
Test step that will execute the whenTrue or whenFalse sub-step based on whether a Widget with a ValueKey with a value of testableId exists on the widget tree. This does not support a delay, it will immediately execute the whenTrue or whenFalse based on whether the Widget does or does not exist at the time of the start of this step. If the Widget may not immediately be on the tree, utilize the SleepStep to add the delay before executing this.
CopyValueToVariableForm
CopyValueToVariableStep
Test step that copies the value from the Testable to a variable identified with the variableName.
ExecuteVariableFunctionForm
ExecuteVariableFunctionStep
Looks for a function registered as variableName. The function must have a function signature of TestVariableFunction. The result of executing the function will be placed in the resultVariableName, or _functionResult if omitted.
ExpectFailureForm
ExpectFailureStep
Test step that expects the sub-step to fail with an exception or else this step will fail. Useful for negative tests.
FailForm
FailStep
Test step that will always fail.
ForEachTestableForm
ForEachTestableStep
Iterates through all active Testable widgets that have an id that matches the given regEx, sets the id in variableName (or _testableId if no variableName is set) and calls the step.
IncludeTestForm
IncludeTestStep
Test step that allows to execute all the steps from another Test.
IncrementValueForm
IncrementValueStep
Test step that increments the value stored in variableName.
IterateForm
IterateStep
Test step that iterates from start to end - 1 and executes step with each iteration. If set, tihs stores the current value in variableName and will use _iterateNum if variableName is not set.
MultiStepForm
MultiStepStep
Test step that groups different TestStep to be executed as a block.
RepeatUntilForm
RepeatUntilStep
Test step that iterates from start to end - 1 and executes step with each iteration. If set, tihs stores the current value in counterVariableName and will use _repeatNum if counterVariableName is not set.
RetryOnFailureForm
RetryOnFailureStep
Test step that will retry up to retryCount times when a sub-step fails.
TestFlowControlHelper
TestFlowControlTranslations

Typedefs

TestVariableFunction = Future Function(TestController tester, TestReport report)
Function that can be assigned to a variable and executed by the ExecuteVariableFunctionStep.