[iOS] Handle all executions errors from simulator test runner summary (#36727)

The `step_text` key is only ever set if an exception was raised while executing the iOS simulator test runners, we should ensure that all exceptions result in a failure to catch issues such as `AppLaunchError` which occurs when the test suite crashes and fails to run any tests
This commit is contained in:
Kyle Hickinson
2026-05-26 19:04:09 +01:00
committed by GitHub
parent 644f02bfc2
commit 26470af4d2
+1 -2
View File
@@ -52,8 +52,7 @@ class ChromiumToJUnitConverter:
# Calculate totals
total_passed = len(passed_tests)
total_failed = len(failed_tests)
has_execution_error = bool(step_text
and 'TEST EXECUTE FAILED' in step_text)
has_execution_error = bool(step_text)
total_tests = total_passed + total_failed + (1 if has_execution_error
else 0)