IosE2ETestScope

class IosE2ETestScope(defaultWaitTimeoutMs: Long, commandDelayMs: Long = 0, failureScreenshotPath: String = "build/parikshan/failures/failure-", captureScreenshotOnFailure: Boolean = true)

Synchronous iOS E2E test scope that drives waits via NSRunLoop pumping instead of coroutine delay. This keeps the main thread available for UIKit/Compose rendering between polls.

Constructors

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

Functions

Link copied to clipboard
fun assertText(tag: String, expected: String)
Link copied to clipboard
Link copied to clipboard
fun click(tag: String)
Link copied to clipboard
Link copied to clipboard
fun input(tag: String, text: String)
Link copied to clipboard
fun pressBack()
Link copied to clipboard
fun pressHome()
Link copied to clipboard
fun scroll(tag: String, direction: ScrollDirection)
Link copied to clipboard
fun scrollUntilVisible(containerTag: String, targetTag: String, maxScrolls: Int = 40)
Link copied to clipboard
fun waitFor(tag: String, timeoutMs: Long = defaultWaitTimeoutMs)