Package-level declarations

Core End-to-End testing DSL and models for Compose Multiplatform.

Types

Link copied to clipboard
data class E2ETestConfig(val defaultWaitTimeoutMs: Long, val commandDelayMs: Long = 0, val failureScreenshotPath: String = "build/parikshan/failures/failure-", val captureScreenshotOnFailure: Boolean = true)
Link copied to clipboard

The primary execution scope for a Parikshan end-to-end test.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class ParikshanScenario(val testName: String = "")
Link copied to clipboard
data class ResolvedSelector(val selector: Selector, val matchType: ResolvedSelector.MatchType, val node: NodeSnapshot, val allMatches: List<NodeSnapshot> = listOf(node))
Link copied to clipboard
interface TestDriver

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun e2eTest(driver: TestDriver, config: E2ETestConfig = E2ETestConfig(), block: suspend E2ETestScope.() -> Unit)
Link copied to clipboard
fun Selector.resolveNode(nodes: List<NodeSnapshot>, requireVisible: Boolean = true): ResolvedSelector