-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support artifact collection of test retries (jest.retryTimes(x)
)
#2073
Comments
@viktorijasujetaite and I have taken a 2nd look on some tests where retry is applied and we noticed the opposite - namely, that only the artifacts from last retry prevail. Could this be platform-specific? I think I've noticed that on Android, the artifacts are simply |
Could be different between platforms, anyway, the dir names should solve either issue we have there. |
I would actually think that artifacts of [Retry # 1] are recorded, because for latter retries (# 2 & # 3) we see "cannot overwrite" warning. |
@viktorijasujetaite again, this is probably iOS-specific, and different on Android. In any case, solving this would solve it for both platforms |
When running a test with
jest.retryTimes(x)
, the artifact manager will create a folder for the first retry, but will fail recording the next retries (if they happen).Example:
I suggest we add the retry number to the folder name,
retry no 1:
test name
retry no 2:
test name - retry 2
retry no 2:
test name - retry 3
The text was updated successfully, but these errors were encountered: