-
-
Notifications
You must be signed in to change notification settings - Fork 685
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
test_scroll
fails for DetailedList
& Table
widgets when testbed is run locally on Android emulator
#2516
Comments
I believe this is due to the emulator you have selected. The testbed is designed to run on a very specific emulator - in particular, a device with an Android 31 system image with a Pixel 3a skin. If you have a device with different dimensions, the tests will fail. This isn't the same skin that Briefcase generated by default - Briefcase will use the Pixel 7 Pro skin by default. The Pixel 3a skin was the default until around the end of last year. There's 2 changes that could be made here:
(1) by itself is relatively straightforward - it only requires a CI config change (2) requires us to find a way to get the device dimensions, and incorporate that into the calculations that are failing. In making that change, we need to make certain that we're not doing a "1==1" check; i.e., we need to make sure that we're getting an independent datum, not getting a different version of the value we're asserting. There would be an intermediate version that implements (1) but not (2), manually updating the tests to use the "new" passing values. |
For the time being, I'll do the intermediate version since that would be quicker and I need the tests to pass locally to check for the missing coverage errors for the Android canvas in #2484. I'll open a new PR with the changes. |
You can also make the tests pass locally by creating an Android image using the Pixel 3a skin. The CI configuration has the invocation to do this. |
I tried to do that with:
But got error:
Here is the log file: briefcase.2024_04_21-22_55_25.run.log Looking at the log file, it seems to encounter JSON decoding error. |
Yes - because you haven't escaped the JSON for use in Windows. The CI configuration is running on Ubuntu, so it's able to use Unix quoting. The value that is being parsed internally is |
Thanks! Here is the escaped version:
|
Describe the bug
test_scroll
fails forDetailedList
&Table
widgets when testbed is run locally on Android emulator.Steps to reproduce
test_scroll
will fail forDetailedList
&Table
widgets.Expected behavior
test_scroll
should pass forDetailedList
&Table
widgets.Screenshots
No response
Environment
Logs
Additional context
No response
The text was updated successfully, but these errors were encountered: