-
Notifications
You must be signed in to change notification settings - Fork 33
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
Tests/Images missing in HTML report #188
Comments
Thanks for reporting this issue as always! |
If it’d work it’d be for the case where not executed tests are listed. However, I’m not sure. I was deleting the autogenerated folder with the reports and still getting missing images, what would theoretically have the same result as your suggestion 🤔 I suggest to create some examples in this repo and try to reproduce it by executing 2 different subsets of tests with filtering options and then see whether cleaning up programatically before the executions solves it, because what you mention makes sense to me Regarding the empty report for Views, I will investigate a bit further… maybe there is sth I am missing, but I can ensure the captureRoboImage() methods are called there too 🧐. Would likely be a different bug too |
I've fixed the issue of keeping the previous test reports. Could you take a look at it? |
Let me try this evening. Thanks for your efforts as usual! ❤️ |
I can confirm both problems are gone (also the report without any screenshot) in 1.8.0-alpha-3. Great job! However, not sure whether these are bugs or feature request:
Both are also happening in 1.7.0-rc-1, so they are not introduced by these changes. |
Thanks. This is definitely a bug. I didn't notice it. It looks like |
We might have to use Finalizer tasks. 👀 |
@sergio-sastre |
I’ll do my best to find some time to check it out this weekend. Thanks for the fast bug-fixing 🚀 |
Yeah, it works! thanks for the bugfix! |
Thanks! |
If I run tests for android views
./gradlew :recyclerviewscreen:roborazzi:recordRoborazziDebug --tests '*Activity*'
The HTML report is empty
Although 2 of them are executed and I can see the screenshots in the corresponding folder
This does not happen in a module with Composables...
However, if I filter tests, something happens
./gradlew :lazycolumnscreen:roborazzi:recordRoborazziDebug --tests '*Activity*'
Everything is fine
./gradlew :lazycolumnscreen:roborazzi:recordRoborazziDebug --tests '*Composable*'
Then, the report lists also the Activity tests, which were filtered out in the last execution, but the images are missing:
I would not expect them to be in the list at all, since they were not executed in the last run
Also, some screenshots are not fully displayed in the preview of the report, althugh that is a minor issue
The text was updated successfully, but these errors were encountered: