TestVisualArtifacts class
final
Methods
captureAutomaticScreenshotForStepBestEffort ({required TestStepExecutor executor , required TestStep step , required int stepIndex , TestStep ? labelStep , bool pumpBeforeCapture = false , bool ensureTargetVisible = true , bool waitForTarget = false , bool waitForLottie = true , bool stabilize = true , bool forFailure = false , ObservationDetailLevel observationDetail = ObservationDetailLevel.standard , bool requireVisibleActionHighlight = false })
→ Future <bool >
captureScreenArtifacts (EnsembleTestContext ctx )
→ void
captureStepArtifacts ({required TestStepExecutor executor , required TestStep step , required int stepIndex , required StepScreenshotOptions options , TestStep ? labelStep , Future <bool > captureScreenshot ()? })
→ Future <bool >
Screenshot + Observer as one pair. Skipped shots never write Observer.
captureWaitForNavigationScreenshot ({required TestStepExecutor executor , required TestStep step , required int stepIndex })
→ Future <bool >
Screenshots for waitForNavigation are captured only after the target
remains visible through a paint pass. A tracker event can precede the
destination's first rendered frame, so an early snapshot may belong to
the previous route. If the target disappears before paint, return false
and let the step completion boundary capture the actual rendered screen.
isUserActionStep (TestStep step )
→ bool
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paintAfterUserAction (TestStepExecutor executor , EnsembleTestContext ctx )
→ Future <void >
screenshotSheetsFor (EnsembleTestConfig config )
→ ScreenshotSheetAggregator
toString ()
→ String
A string representation of this object.
inherited
waitForHighlightTargetToPaint (TestStepExecutor executor , TestStep step )
→ Future <void >
ensemble_test_runner 1.4.1