Comments (17)
Thanks for the update @FennyR and @sunyal. Updated logs appreciated, and I'll start looking into repro'ing this today.
from accessibility-test-framework-for-android.
@caseyburkhardt
I'm getting the same error with v3.0 as well.
from accessibility-test-framework-for-android.
Thanks for bearing with us on this. We've revised our approach to packaging resources, which gets a bit complicated with a few of our internal release variants of the library. This should now be resolved with the latest push.
from accessibility-test-framework-for-android.
We've made a number of changes around string management and translation in our latest v3.1 release, which was just merged to master. Please sync the latest source and please let us know if you're still running into issues here.
from accessibility-test-framework-for-android.
This is also happening for me. I am unable to get this to work in the Robolectric environment.
from accessibility-test-framework-for-android.
Also happening in the androidTest Espresso tests
from accessibility-test-framework-for-android.
from accessibility-test-framework-for-android.
Hello. Any news?
from accessibility-test-framework-for-android.
I am still receiving this exception in 3.1. This is coming from a test using ParameterizedRobolectricTestRunner. If you would rather me open a new issue, let me know.
java.util.MissingResourceException: Can't find bundle for base name .strings, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1581)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1396)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:1308)
at com.google.android.apps.common.testing.accessibility.framework.strings.StringManager.getResourceBundle(StringManager.java:63)
at com.google.android.apps.common.testing.accessibility.framework.strings.StringManager.getString(StringManager.java:42)
at com.google.android.apps.common.testing.accessibility.framework.checks.RedundantDescriptionCheck.checkForWords(RedundantDescriptionCheck.java:185)
at com.google.android.apps.common.testing.accessibility.framework.checks.RedundantDescriptionCheck.runCheckOnHierarchy(RedundantDescriptionCheck.java:158)
at com.google.android.apps.common.testing.accessibility.framework.AccessibilityViewHierarchyCheck.runDelegationCheckOnView(AccessibilityViewHierarchyCheck.java:101)
at com.google.android.apps.common.testing.accessibility.framework.RedundantContentDescViewCheck.runCheckOnViewHierarchy(RedundantContentDescViewCheck.java:38)
at com.google.android.apps.common.testing.accessibility.framework.integrations.espresso.AccessibilityValidator.runAccessibilityChecks(AccessibilityValidator.java:225)
at com.google.android.apps.common.testing.accessibility.framework.integrations.espresso.AccessibilityValidator.checkAndReturnResults(AccessibilityValidator.java:87)
at androidx.test.espresso.accessibility.AccessibilityChecks$2.check(AccessibilityChecks.java:65)
from accessibility-test-framework-for-android.
Reopening for some additional investigation, although we were unable to reproduce this when we were validating the 3.1 release candidate.
@ekimmel-ta Can you clarify if you're building the project from source, or from our Maven artifact? Any other information to help us reproduce this is appreciated.
from accessibility-test-framework-for-android.
This is pulling down the 3.1 maven artifact. I am using Espresso 3.3.0, and forcing the ATF resolution to be 3.1 while waiting for that team to merge the update officially.
I will work on reproducing the issue in a sample project.
from accessibility-test-framework-for-android.
Here is a minimal example showcasing the exception. https://github.com/ekimmel-ta/ATFSample
from accessibility-test-framework-for-android.
Hi ekimmel-ta,
Sorry for the delay. After much debugging, I think we've identified the issue. Gradle is not packaging files in the assets/
directory into unit tests. It packages them fine in the application process or Espresso tests. I think we can fix this by using the Java-style resources/
directory, instead. Working on the fix now; I'll update the issue when it's out, and we can see if that fixes your sample.
from accessibility-test-framework-for-android.
Hi ekimmel-ta,
We just pushed a new version to Maven. Can you try pulling 3.1.1
and see if it works?
from accessibility-test-framework-for-android.
Hello! I've pulled in the latest version.
Some behavior seems to have changed between v2 and v3 regarding the root view being tested for accessibility, even if it doesn't match the "suppressing result matcher". After marking some of the scaffolding of our test layout as not important for accessibility, the tests do indeed succeed! Thank you for the patch!
from accessibility-test-framework-for-android.
Some behavior changes are expected between versions of ATF, as we roll out new accessibility checks, fix bugs, and (hopefully) introduce fewer new bugs.
If you suspect the results you're receiving are not accurate, please do open a separate issue with a minimal repro example of your layout, and we'd be more than happy to take a look.
from accessibility-test-framework-for-android.
Hello, I'm still running into this issue on version 3.4.0 of the Espresso Accessibility testing library. Is there a fix for this issue, or should we be using a specific version?
from accessibility-test-framework-for-android.
Related Issues (20)
- https://github.com/google/Accessibility-Test-Framework-for-Android/blob/a6117fe0059c82dd764fa628d3817d724570f69e/src/main/java/com/google/android/apps/common/testing/accessibility/framework/integrations/espresso/AccessibilityValidator.java#L82
- Migrate to protobuf-javalite HOT 4
- Jetpack compose compatibility HOT 7
- False Positive for SpeakableTextPresentCheck in RecyclerView HOT 2
- Security Policy violation Binary Artifacts HOT 41
- There is a vulnerability in jsoup 1.12.2,upgrade recommended HOT 1
- There is a vulnerability in Guava: Google Core Libraries for Java 28.2-android,upgrade recommended HOT 1
- 4.0.0 is published but there are no release notes HOT 1
- T
- Add Sample and Run Tests in Google Action Workflow
- Test Framework / Accessibility
- nils
- OSV API
- Advance
- Question about custom AccessibilityHierarchyCheck HOT 1
- https://developers.google.com/android/guides/releases
- Cookie & Advertising Policymaking for
- iOS 17
- Google HOT 1
- Tolerant seen
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from accessibility-test-framework-for-android.