[ad_1]
There’s a comparable query , however it does not apply to my particular case.
As a substitute of speaking of the particular case, let’s make it a little bit broad and summary.
When doing UI take a look at in XCTest challenge, there’s in all probability runtime error like:
“Did not get matching snapshots”
And the take a look at would cease on this step. It sounds loads like we will not deal with these form of errors by utilizing strive...catch (Xcode yields that "No calls to throwing capabilities happen with 'strive' expression")
I used to be questioning is there any option to make the take a look at maintain going if even we met these error?
Or at the very least if possibly we may take a screenshot when error occurs? strive...catch {takeScreenShot...} not work right here.
[ad_2]
