Closed crazyvan closed 6 months ago
Figured it out. This works:
run {
WelcomeScreen {
flakySafely(3000) {
logInButton {
isVisible()
}
}
}
}
Hi,
I've just started using Kaspresso and the first test I've written works fine until I attempt to use 'flakySafely'. Android Studio reports that 'flakySafely' is not available for the following Kotlin object:
Not sure why. Is there particular version of Kotlin that I should be using? The project is on 1.8.20.
And in app/build.gradle I have: androidTestImplementation 'com.kaspersky.android-components:kaspresso:1.5.3' androidTestUtil 'androidx.test:orchestrator:1.4.2'