We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Something similar to https://developer.android.com/guide/topics/ui/accessibility/testing#accessibility-scanner
Perhaps on failing accessibility checks, overlay the screenshot with the bounding box of the failure
https://developer.android.com/guide/topics/ui/accessibility/testing#accessibility-scanner
The text was updated successfully, but these errors were encountered:
example that includes the check ViewImage, useful for contrast failures
// Rethrow the Accessibility exception once screenshots have passed if (accessibilityException != null) { accessibilityException.results.forEachIndexed { index, check -> val viewImage = check.viewImage if (viewImage is BitmapImage) { FileOutputStream( "build/outputs/roborazzi/" + "${screenshotName}_${deviceName}_$index.png", ).use { viewImage.bitmap.compress(PNG, 100, it) } } } throw accessibilityException }
Sorry, something went wrong.
I think we can use AwtRoboCanvas to save images while respecting user settings, such as image extensions, and to write text and frames.
No branches or pull requests
Something similar to https://developer.android.com/guide/topics/ui/accessibility/testing#accessibility-scanner
Perhaps on failing accessibility checks, overlay the screenshot with the bounding box of the failure
https://developer.android.com/guide/topics/ui/accessibility/testing#accessibility-scanner
The text was updated successfully, but these errors were encountered: