runner/emergency_failure_screenshot library

Functions

captureEmergencyFailureScreenshotFrame({required WidgetTester tester, String? deviceId, String? deviceLabel, String? platform, String? model}) → ScreenshotSheetFrame
Captures the common failure frame after the adapter has chosen its timing.
emergencyFailureScreenshotFrame({required Image image, String? deviceId, String? deviceLabel, String? platform, String? model}) → ScreenshotSheetFrame
Builds the common report frame for orchestration-level failures.
writeEmergencyFailureScreenshot({required WidgetTester tester, required EnsembleTestCase test, required EnsembleTestConfig config, required Object error}) → Future<List<String>>
Captures a minimal screenshot when orchestration fails outside a test step.