Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class ScreenshotDelegate(outputPath: String, defaultOptions: ScreenshotOptions, storageProvider: ReportStorageProvider)
Link copied to clipboard
data class ScreenshotOptions(val scale: Float = 0.5f, val quality: Int = 80, val format: Bitmap.CompressFormat = Bitmap.CompressFormat.JPEG, val keepOnSuccess: Boolean = true)

Configurable screenshot options that apply to all tests.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class TestScreenshot(val scale: Float = 0.5f, val quality: Int = 80, val format: Bitmap.CompressFormat = Bitmap.CompressFormat.JPEG, val keepOnSuccess: Boolean = true)

Overrides the screenshot options for a single test