Compare commits

..

1 Commits

Author SHA1 Message Date
6f595eb2d6 ci: Instrumentation tests coverage in ci.
All checks were successful
Check PR code / BuildAndTestAndCoverage (pull_request) Successful in 28m31s
2025-03-22 14:27:37 +01:00

View File

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