Compare commits

..

1 Commits

Author SHA1 Message Date
acc3f1c2ff ci: Instrumentation tests coverage in ci.
All checks were successful
Check PR code / BuildAndTestAndCoverage (pull_request) Successful in 30m41s
2025-03-22 16:10:29 +01:00

View File

@ -168,9 +168,10 @@ open class WithANRException {
Espresso.setFailureHandler { error, viewMatcher -> Espresso.setFailureHandler { error, viewMatcher ->
takeScreenshot() takeScreenshot()
if (error.message!!.contains(rootViewWithoutFocusExceptionMsg) && if (error.message!!.contains(otherException)) {
error.message!!.contains(otherException) && handleAnrDialogue()
anrCount < 3 } else if (error.message!!.contains(rootViewWithoutFocusExceptionMsg) &&
anrCount < 20
) { ) {
anrCount++ anrCount++
handleAnrDialogue() handleAnrDialogue()