-
Notifications
You must be signed in to change notification settings - Fork 6
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
Kickstart discussions about providing test harness APIs #23
Comments
Do you mean with WebDriver capabilities or something else? |
Infra@skobes WPT run on real devices? Priority of testing infra wishlist:
@emilio WebKit and Gecko have Native APIs to control the dynamic toolbars on Mobile (and maybe Desktop). TestsE.g. Measure ICB/LVP/VVP/… on load vs after scroll Noteworthy:
Also monitor events Actions items
|
Not being able to get test results on wpt.fyi is a blocker to being able to include viewport items in any future Interop-20xx focus area, even if we have the appropriate testing APIs. If we want the tests to run on mobile, the main blocker is availability of appropriate hardware. For gecko in our own CI we're running wpt in the Android emulator. This is pretty easy to also support upstream (some initial work is landed), but it's blocked on not having the right kind of machine type available to run the Android emulator in the upstream CI (taskcluster or Azure). This requires KVM, which AIUI requires a more expensive bare-metal cloud instance, vs the cheaper VM-based instances we're currently using. For running on real devices (or an iOS simulator that depends on macOS hardware), we'd need to get access to the relevant hardware. For physical devices in particular, we don't have any resources to run a device farm ourselves, so this would require some kind of service that can abstract over the actual phones. If we can't run in upstream CI, there are basically two options:
So I think if we believe that this is an important area for progressing the platform, there's a case to be made for getting some participants to help provide the testing resources required to run mobile in wpt CI. |
FWIW: I think any discussion about running tests on mobile platforms should probably happen in an RFC issue, rather than here. There's a lot of complexity here for a variety of reasons, not just limited to access to the actual hardware. |
Right, but I think it's worth ensuring that the people talking about testing mobile-dependant features are aware of the current state of testing on mobile, and what's required to include those features in Interop focus areas in the future. I don't think a wpt RFC would reach that audience (plus there's nothing to propose at the moment, so it's unclear what an RFC would say). I agree it's also possible that I'm missing some considerations, especially for iOS where don't have any relevant experience. The above is probably sufficient to testing Firefox mobile on an Android emulator, but it might not cover all other platform/browser considerations. |
Having an issue to at least have discussion about what would be required to test mobile browsers seems reasonable? |
Sure. I don't know it's the best place for such a discussion, but I also don't have a better suggestion. |
@jgraham @gsnedders Feel free to edit directly the issue text. |
Thank you for filing this, @karlcow. |
I’ve compiled a list of possible things to test, grouped per API. For this, I’ve based myself upon the manual tests I performed earlier this year (testpages / findings) which were grouped per action.
There’s some TBD’s mentioned in the list, as not all is clear right now in the case of over pinch-zooming out and overscrolling at the top. On mobile browsers, these all behave a little bit differently right now (some offsetting the entire canvas, some just offsetting the ICB+VV, some …) |
(For discussion) it's still unclear to me exactly what we mean / want with stuff like "Scroll Down: LVP can grow, due to UA UI retracting (if any)" Does it mean
|
I would say:
A more thorough check than “LVP$after must be gte LVP$before” would be to calculate the height of the UA UI (which is equal to the difference between |
|
I’ve followed up with Interop Tooling Team at Google on this, and they’ve added the list of requested APIs it to the 2023 backlog (pending prioritisation). Not sure what’s next here. Do we graduate the list of suggested tests + API requirements to an RFC? |
@jgraham Emilio told me you can help out with this. See last comment: how do we move this to WPT? |
We should try to start some discussion in https://github.com/web-platform-tests/rfcs to add APIs for at least:
Maybe:
Something else?
The text was updated successfully, but these errors were encountered: