web-platform-tests / interop-mobile-testing

Mobile Testing Investigation in Interop 2023
2 stars 4 forks source link

Browser Engine Testing Status-Quo #4

Open gsnedders opened 1 year ago

gsnedders commented 1 year ago

We decided to have some summaries as to the status quo of testing browser engines within themselves.

As @jgraham said in the last meeting:

Obvious questions would be are you running on emulators, real hardware, would that be the same for WPT. Another thing that could be relevant is are you running [ToT] WPT.

Let's share summaries here (or link to them if lengthy), prior to the next meeting.

gsnedders commented 1 year ago

On WebKit, we do all testing on iOS and iPadOS Simulators via WebKitTestRunner (comparable to Chrome’s content_shell). This includes the same set of tests as we run on macOS and other platforms—including the same imported subset of WPT. It isn’t possible to run the system Safari against a local WebKit build, even on a Simulator. It also isn’t possible to do on device testing, as the only possible version of WebKit is the system-provided version.

For WPT CI, given the inability to do anything else with ToT WebKit, presumably the same path would need to be taken—though of course I can imagine there might be some interest in testing shipping stable Safari too.

As a reminder, I'm out and won't be there on Tuesday, but @JonWBedard will be showing up in lieu of me (and he can probably answer questions about WebKit CI better than I could anyway).

WeizhongX commented 1 year ago

https://docs.google.com/document/d/e/2PACX-1vQ6yAmdUkred6zUpKC4h1AMj7e6Qn4r21HptkhF0PIcJXXKP30jzYf9_S9uujcDXmWvdu9Vb_n8uEsy/pub

jgraham commented 1 year ago

@WeizhongX that document doesn't seem to be accessible

jgraham commented 1 year ago

I didn't have loads of content, so I'll just put it in a comment here:

Gecko Android Testing

wpt Status Quo

WeizhongX commented 1 year ago

@WeizhongX that document doesn't seem to be accessible

I was not able to figure out what is wrong. The document is supposed to accessible to the public. I will just copy the content and put it here.

Components we had in our system. Builders:

Result Database: Holds Wpt reports json file from the builders.

Blink-kms: Authentication Service that stores username/password to authenticate with wpt.fyi.

Wpt Result Uploader:

image

foolip commented 1 year ago

@WeizhongX as a high-level summary, is it accurate to say that Chromium's CI is already running Chrome for Android and uploading the results to wpt.fyi? Is there anything missing from the picture, or is everything fine the way it is for Chrome?

WeizhongX commented 1 year ago

The answer is yes to the first question. We are using the 3h epoch tag from upstream WPT to run against ToT Chrome for Android, which is exactly same as how some other browser runs Wpt.

We might still need to set up the dashboard to monitor status, and there are work to do if we want results from stable release.

past commented 1 year ago

I believe the Chrome on Android and WebView runs are not properly tagged as coming from the master branch, as jgraham mentioned recently. @WeizhongX has anyone been working on this?

WeizhongX commented 1 year ago

We did not work on that, because we don't know what is the priority. This should be an easy fix, so I can create a PR for it if needed.