0
Commit Graph

384 Commits

Author SHA1 Message Date
Henrique Nakashima
9754600858 [Android] Update documentation to point at Example*Test.java
Also update outdated documentation and work the current practices into
the docs.

Bug: 406034111,406265778
Change-Id: Ia6e10072ef8fc9f26e14215f6b979be12c28a171
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6392295
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1438268}
2025-03-26 11:15:46 -07:00
Henrique Nakashima
c3f9336fdf [Android] Create AutoResetCtaTransitTestRule
At surface level it's just BlankCTATabInitialStatePublicTransitRule
automatically creating the ChromeTabbedActivityTestRule, but it
shifts the ChromeTabbedActivityTestRule to be non-static (and adapts
to this). It also supports ending the test in a different station
(like the RegularTabSwitcherStation in HistoryPaneTest).

Bug: 404294940,399877997,399876851
Change-Id: I23f9f14938760802f25bf984d8587a231adecd4b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6378329
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
Owners-Override: Mohamed Heikal <mheikal@chromium.org>
Reviewed-by: Mohamed Heikal <mheikal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1437020}
2025-03-24 12:28:03 -07:00
Henrique Nakashima
d831a30cf7 [Android] Create Fresh/ReusedCtaTransitTestRule
FreshCtaTransitTestRule is for tests that restart the CTA between test
cases, whether they are batched or not.

ReusedCtaTransitTestRule is for tests that reuse the CTA in all test
cases, so it only makes sense in batched tests (though it's equivalent
to Fresh- in non-batched tests when they all start on the same entry
point).

Bug: 399877997,404294940
Change-Id: I08fb67a0654d3a95f9ddf34bd0f136b57863ed49
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6355610
Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1436300}
2025-03-21 14:36:03 -07:00
Brian Sheedy
a330c64c03 Update expectation file documentation
Updates the expectation file Markdown documentation to include
information on the newly added full_wildcard_support annotation.

Bug: 377660080
Change-Id: I52613e267645d18d01fffe76e8acb34d62070e72
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6343618
Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1435784}
2025-03-20 17:17:18 -07:00
Henrique Nakashima
8d6650266b [Android] Differentiate Activity-reused and Activity-restarted in docs
Update docs about batching.

Bug: 399876851
Change-Id: Ice18ae1aeb30f4af54907a8b6aaea82cda228643
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6344579
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1431694}
2025-03-12 12:32:42 -07:00
Maksim Sadym
8e2731fb4a Extend WPT documentation with detailed instructions from http://goto.google.com/webdriver:guide-wpt-add-new-feature-e2e.
Bug: 401491221
Change-Id: I995691820eaf0ca7b88ef76fc99d565e7dd5eb48
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6341795
Commit-Queue: Maksim Sadym <sadym@chromium.org>
Reviewed-by: Alex N. Jose <alexnj@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1430916}
2025-03-11 09:14:53 -07:00
Kaylee Lubick
f7bfd2f95f Remove ableist language from web test documentation
Change-Id: I96353308a3c6c4c62c390fdc36e29dadf58b4ea3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6337722
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Auto-Submit: Kaylee Lubick <kjlubick@chromium.org>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Cr-Commit-Position: refs/heads/main@{#1430451}
2025-03-10 13:30:37 -07:00
Weizhong Xia
5b6338c45b Add explanation on when/how to request resources for additional tests
As there would be such request often, add this to document.

Bug: None
Change-Id: Ife2b0705448526b3fccd4f445325bbd3f4c1fe82
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6333678
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1429243}
2025-03-06 16:24:27 -08:00
Weizhong Xia
275044ecef Rename WPT step names for Android and Webview
The convention now is the embedder name followed by `-wpt-tests`. So
remove blink from the name and add `android` as a common prefix for
Android platform.

The steps are now called `android_chrome_wpt_tests` and
`android_webview_wpt_tests` respectively for Chrome
Android and Webview.

Validate-Test-Flakiness: skip

Bug: 395962971
Change-Id: I3fe833ae3fa8ee5b4e338db794eb8ebef3e6b249
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6279415
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1423477}
2025-02-21 16:20:41 -08:00
Weizhong Xia
e415c52cfc Fix broken link to Mac.txt
The file is renamed to MacOld.txt. Updated document accordingly.

Bug: None
Change-Id: Ib9221301fd441fda82fd6b8fc6a102e687440035
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6259595
Reviewed-by: An Sung <ansung@google.com>
Auto-Submit: Weizhong Xia <weizhong@google.com>
Commit-Queue: An Sung <ansung@google.com>
Cr-Commit-Position: refs/heads/main@{#1419523}
2025-02-12 13:29:01 -08:00
dpapad
5fd6c08c95 Fix more broken links to recently moved WebUI docs.
Bug: None
Change-Id: I20eff74f12cfec54139776d3680ecde041e1e4f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6197757
Auto-Submit: Demetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: Teresa Mao <temao@chromium.org>
Commit-Queue: Teresa Mao <temao@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1411223}
2025-01-24 16:29:43 -08:00
Weizhong Xia
895774587d Make clear that headless_shell_wpt_tests is the default for WPTs
As WPT migration is mostly done and headless shell is now the default
target for WPTs, make this clear in document and naming to make it
less likely a new WPT accidentally added to the exception list.

Renamed headless_shell.filter to content_shell.filter to make it
obvious that tests listed there are intended to be run with content
shell and is something unusual.

Validate-Test-Flakiness: skip

Bug: 40927590
Change-Id: I787f7c4757aba3f869c4edeb7f43c5aeff79c41b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6154686
Reviewed-by: Rick Byers <rbyers@chromium.org>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Struan Shrimpton <sshrimp@google.com>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1404578}
2025-01-09 20:14:36 -08:00
Weizhong Xia
0895abfa52 Build chrome and headless shell in blink_tests
This way developers will only need to build blink_tests to run web
tests and WPTs locally.

Bug: 40927590
Change-Id: Idc83520763a7a159087f8938a13cc751995993d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6158486
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1403901}
2025-01-08 15:55:38 -08:00
An Sung
d75ea333e8 [Blink] Add TestExpectation for CfT
Bug: 380778943
Change-Id: I5b162d399b22ce23e384c0401c2a2245180da1ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6064801
Reviewed-by: Weizhong Xia <weizhong@google.com>
Reviewed-by: Peter Wen <wnwen@chromium.org>
Commit-Queue: An Sung <ansung@google.com>
Cr-Commit-Position: refs/heads/main@{#1392415}
2024-12-05 18:45:23 +00:00
Steve Kobes
5636fff423 Mention fluent scrollbar tweaks in web_tests.md.
Bug: 382298324
Change-Id: I9711541b4a99deb47d7287046a774a4ef66a8e86
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6075223
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1392271}
2024-12-05 15:04:50 +00:00
Ted Choc
a4550c6402 Remove BlankUiTestActivityTestCase.
Use BaseActivityTestRule<BlankUiTestActivity> instead.

Bug: 369884095
Change-Id: I6da19249d20fd31a369e00bee98f2a0d52fbca02
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6035967
Commit-Queue: Ted Choc <tedchoc@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1385154}
2024-11-19 19:59:30 +00:00
An Sung
b2be580c1d [Blink] Add incremental install instruction to documentation
Add note about incremental install to
run_web_platform_tests_on_android.md

Bug: 377713901
Change-Id: I2f97d44d7c19d4ebca663322ca795591958e8d29
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6024446
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Commit-Queue: An Sung <ansung@google.com>
Cr-Commit-Position: refs/heads/main@{#1383343}
2024-11-15 00:24:40 +00:00
Rick Byers
f5c5878e8b Tweak WPT docs to clarify test API policy.
Change-Id: Iaaf4da96004b9a7e1eb8ee434999dfc36aa4e0ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6001502
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#1380682}
2024-11-08 23:10:01 +00:00
An Sung
e607bc4dd7 [Blink] Update documentation for WPT with Webview
Bug: 40279492
Change-Id: I5b92f3ae4f2ee4d4f68fce757b88942512c7a3a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5888381
Commit-Queue: An Sung <ansung@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1363843}
2024-10-03 20:56:42 +00:00
An Sung
d7715d367e [Blink] Update the instruction for running WPT with Chrome Android.
Bug: 40279492
Change-Id: I6073af91e84e6fc027ca15c7e7b3a57be14b3dac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5878460
Commit-Queue: An Sung <ansung@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1359020}
2024-09-23 22:05:35 +00:00
Jonathan Lee
2763d20852 [docs][wptrunner] Describe MojoJS support in run_wpt_tests.py
Also,
* Add a disclaimer that `run_wpt_tests.py` Android support is
  experimental.
* Update "Known Issues" section with new hotlist and template URL.

Bug: None
Change-Id: I221ce2b6622e53eb90e8905efcc094b3ca259379
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5851602
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1353984}
2024-09-11 16:21:23 +00:00
Georg Neis
05bb049e0d Remove mentions of Lacros from docs/*, part 1
Change-Id: Ifabd1590679a96df72e40bb50ee564ec5387ddab
Bug: b:365688694
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5849748
Reviewed-by: Yuta Hijikata <ythjkt@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1353194}
2024-09-10 08:20:27 +00:00
Jonathan Lee
748f903024 [docs][wptrunner] Document running tests against headless_shell
... and the filter file mechanism for selecting the embedder the bots
should test with.

This CL should land after https://crrev.com/c/5798304 introduces the
`headless_shell.filter` file discussed here.

Bug: 328079854
Change-Id: I1e03ef8679938ac2a6d213ccef7d724bd43945cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5799327
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1348187}
2024-08-28 19:07:34 +00:00
Arthur Wang
7eb6a486fa Add two index to the sub titles.
Bug: b:360923880
Change-Id: I600ae66a2571c28487b4464c2225db08d5f41cd2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5817883
Commit-Queue: Arthur Wang <wuwang@chromium.org>
Reviewed-by: Peter Wen <wnwen@chromium.org>
Reviewed-by: Prakhar Asthana <pasthana@google.com>
Cr-Commit-Position: refs/heads/main@{#1347583}
2024-08-27 20:10:09 +00:00
Arthur Wang
3cae925ddc Add a read artifact section on code coverage.
----
Add a section to explain the data format of the code coverage report.

Bug: b:360923880
Change-Id: I94d5ff02ae63584a0bf1d8f052aeacafdbd95e68

----
Update the code coverage documentation.

Change-Id: I94d5ff02ae63584a0bf1d8f052aeacafdbd95e68
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5817355
Reviewed-by: Peter Wen <wnwen@chromium.org>
Commit-Queue: Arthur Wang <wuwang@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1347571}
2024-08-27 19:47:23 +00:00
An Sung
65f7085b25 [Blink] Update documentation for wpt with chrome android
Change-Id: Ib7abf89b93d9871289ed72c49ec972cba0429096
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5750082
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: An Sung <ansung@google.com>
Cr-Commit-Position: refs/heads/main@{#1339290}
2024-08-08 21:02:40 +00:00
Jonathan Lee
27f7f19c8e Reland "[wptrunner] Remove chrome port and expectations"
This is a reland of commit 8964d40d2b

Changes since original:
  Added a missing expectation file for
  external/wpt/wai-aria/role/contextual-roles.html. The try builds for
  the original CL passed but became stale because they predated
  https://crrev.com/c/5769811, which introduced the new failure.

Original change's description:
> [wptrunner] Remove `chrome` port and expectations
>
> Currently, the WPT infrastructure supports both content shell and chrome
> coverage on Linux simultaneously. The plan now is to open up chrome as
> an option on macOS and Windows, with the caveat that each WPT can only
> target one binary or the other. This will keep the number of
> expectations manageable and minimize the amount of redundant coverage.
>
> This CL:
> * Removes harness support for the `linux-chrome` option, since this will
>   be decided at the test level.
> * Renames `*-expected.txt` files out of the obsolete `linux-chrome`
>   directory as needed.
> * Removes ChromeTestExpectations, with any necessary wdspec test
>   expectations moved to TestExpectations.
>
> Bug: 328079854
> Change-Id: I205197b038e6441773b2d7307a83e8d5da3837a0
> Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5747069
> Reviewed-by: Weizhong Xia <weizhong@google.com>
> Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
> Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1338757}

Bug: 328079854
Fixed: 41484800
Change-Id: Ida08b37b629021d99fa3a92246ebcb48846fe284
Cq-Include-Trybots: luci.chromium.try:mac11.0-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac11.0.arm64-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac12.0-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac12.0.arm64-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac13-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac13.arm64-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac14-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac14.arm64-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac15-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac15.arm64-blink-rel
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5771704
Reviewed-by: Weizhong Xia <weizhong@google.com>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#1339144}
2024-08-08 17:09:56 +00:00
Jonathan Lee
a980d48ea9 Revert "[wptrunner] Remove chrome port and expectations"
This reverts commit 8964d40d2b.

Reason for revert:
  external/wpt/wai-aria/role/contextual-roles.html is missing an
  expectation file:
  https://ci.chromium.org/ui/p/chromium/builders/ci/mac11-arm64-rel-tests/43434/overview
  https://ci.chromium.org/ui/p/chromium/builders/ci/mac12-arm64-rel-tests/29051/overview

Original change's description:
> [wptrunner] Remove `chrome` port and expectations
>
> Currently, the WPT infrastructure supports both content shell and chrome
> coverage on Linux simultaneously. The plan now is to open up chrome as
> an option on macOS and Windows, with the caveat that each WPT can only
> target one binary or the other. This will keep the number of
> expectations manageable and minimize the amount of redundant coverage.
>
> This CL:
> * Removes harness support for the `linux-chrome` option, since this will
>   be decided at the test level.
> * Renames `*-expected.txt` files out of the obsolete `linux-chrome`
>   directory as needed.
> * Removes ChromeTestExpectations, with any necessary wdspec test
>   expectations moved to TestExpectations.
>
> Bug: 328079854
> Change-Id: I205197b038e6441773b2d7307a83e8d5da3837a0
> Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5747069
> Reviewed-by: Weizhong Xia <weizhong@google.com>
> Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
> Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1338757}

Bug: 328079854
Change-Id: I9deb2c2bd012b28f80ed2c78d394917c6d413be1
Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5770702
Reviewed-by: Orin Jaworski <orinj@chromium.org>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Orin Jaworski <orinj@google.com>
Reviewed-by: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#1338796}
2024-08-08 00:05:20 +00:00
Jonathan Lee
8964d40d2b [wptrunner] Remove chrome port and expectations
Currently, the WPT infrastructure supports both content shell and chrome
coverage on Linux simultaneously. The plan now is to open up chrome as
an option on macOS and Windows, with the caveat that each WPT can only
target one binary or the other. This will keep the number of
expectations manageable and minimize the amount of redundant coverage.

This CL:
* Removes harness support for the `linux-chrome` option, since this will
  be decided at the test level.
* Renames `*-expected.txt` files out of the obsolete `linux-chrome`
  directory as needed.
* Removes ChromeTestExpectations, with any necessary wdspec test
  expectations moved to TestExpectations.

Bug: 328079854
Change-Id: I205197b038e6441773b2d7307a83e8d5da3837a0
Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5747069
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1338757}
2024-08-07 22:45:56 +00:00
An Sung
2dca54a1f9 [Blink] Register mac15 port
1. Add mac15/arm64 to builders.json
2. Add references to port configurations
3. Add flag to Expectation files
4. Create README file in .../platform/mac-mac14/ and .../platform/mac-mac15-arm64/

Change-Id: Ia4b225440acf45e0f6ed348cedbb509c2b7457cb
Bug: 355448109
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5749682
Reviewed-by: Reid Kleckner <rnk@chromium.org>
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: An Sung <ansung@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1338068}
2024-08-06 20:24:36 +00:00
Jonathan Lee
4ea63d3a6c [web-tests] Remove mac10.15 expectations and support code
mac10.15 support is being dropped. This CL should be safe to land
because the relevant builders have already been stopped [0, 1].

[0]: https://crrev.com/c/5736464
[1]: https://crbug.com/355034203#comment2

Bug: 355034203
Fixed: 40935823, 40911515, 352191344
Change-Id: Iedef02668f0b397c1f647ae36d98d095d1457664
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5736357
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1332426}
2024-07-24 17:35:27 +00:00
Weizhong Xia
9ebf00f2de Document for running web platform tests with Chrome Android
Bug: None
Change-Id: I5465c7141a0522064439eca16188d83055dcb903
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5664353
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: An Sung <ansung@google.com>
Cr-Commit-Position: refs/heads/main@{#1322427}
2024-07-02 21:51:57 +00:00
Ashley Newson
a0b1f81d6e Document how to fix coverage warnings for test-only files
Bug: None
Change-Id: Id76038cf631a6c9a28671c43d36cded1938807e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5621691
Commit-Queue: Ashley Newson <ashleynewson@chromium.org>
Reviewed-by: Zhaoyang Li <zhaoyangli@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1313908}
2024-06-12 10:22:54 +00:00
Weizhong Xia
55d9df527b Update document following change in crrev.com/c/5551171
Make it clear in the document that the exporter will only create a PR
after the CL is submittable.

Bug: 338231967
Change-Id: I0c0671434a6ee24a5bb89ebc69934e4ebcb15f5a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5593573
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1309374}
2024-06-03 16:35:00 +00:00
Takuto Ikuta
7478af7280 docs: remove goma references
Bug: 41489832
Change-Id: I1dbbb744be749f314dea32d9cf01da0e4a9390ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5569801
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Richard Wang <richardwa@google.com>
Commit-Queue: Richard Wang <richardwa@google.com>
Cr-Commit-Position: refs/heads/main@{#1306295}
2024-05-27 07:23:19 +00:00
Alex Bergman
9c5fc83c80 crosier: update Crosier test metadata tags to match new tag format.
Bug: b:294097177
Change-Id: I1cf0663f1b1e16b7f2df5374dd2a81bab9e1fe5e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5547819
Reviewed-by: Sven Zheng <svenzheng@chromium.org>
Commit-Queue: Alex Bergman <abergman@google.com>
Reviewed-by: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1303579}
2024-05-21 03:03:53 +00:00
Alex Bergman
098d616775 crosier: add debugging section to the Crosier development guide.
Bug: b:294097177
Change-Id: Iaa65c99a25b3dce50ebeac91f8b65efaf08bd6ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5515234
Commit-Queue: Alex Bergman <abergman@google.com>
Reviewed-by: James Cook <jamescook@chromium.org>
Reviewed-by: Sven Zheng <svenzheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1300993}
2024-05-15 00:08:09 +00:00
Finnur Thorarinsson
06b01566f2 [Documentation]: Make @DoNotBatch line conform to formatting.
The @DoNotBatch is likely to be copied-pasted into tests so
make it conform to the formatting standards to avoid having
and extra `git cl format` loop after fixing the test.

Bug: None
Change-Id: Id49142c27e808acfcfefffae073df1d108b4ed91
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5511384
Auto-Submit: Finnur Thorarinsson <finnur@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1295628}
2024-05-02 18:30:33 +00:00
Alison Gale
81f4f2c793 Migrate TODOs referencing old crbug IDs to the new issue tracker IDs
The canonical bug format is TODO(crbug.com/<id>). TODOs of the
following forms will all be migrated to the new format:

- TODO(crbug.com/<old id>)
- TODO(https://crbug.com/<old id>)
- TODO(crbug/<old id>)
- TODO(crbug/monorail/<old id>)
- TODO(<old id>)
- TODO(issues.chromium.org/<old id>)
- TODO(https://issues.chromium.org/<old id>)
- TODO(https://issues.chromium.org/u/1/issues/<old id>)
- TODO(bugs.chromium.org/<old id>)

Bug id mapping is sourced from go/chrome-on-buganizer-prod-issues.
See go/crbug-todo-migration for details.

#crbug-todo-migration

Bug: b/321899722
Change-Id: Iee14d10d544e9f0ec046117cc4ec8a55c427adc0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5469947
Reviewed-by: Darryl James <dljames@chromium.org>
Owners-Override: Alison Gale <agale@chromium.org>
Commit-Queue: Alison Gale <agale@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1290838}
2024-04-22 19:33:31 +00:00
Alex Bergman
13fb47b224 crosier: add Crosier test metadata documentation.
Bug: b:294097177
Change-Id: Ib11aa0677001a44f5bba3ac7a518d85ef68d7a07
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5447172
Reviewed-by: Sven Zheng <svenzheng@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: Sven Zheng <svenzheng@chromium.org>
Auto-Submit: Alex Bergman <abergman@google.com>
Cr-Commit-Position: refs/heads/main@{#1287796}
2024-04-16 02:05:48 +00:00
Gyuyoung Kim
11c70a26be [IOS Blink] Bump the default SDK version up to 17.4 for the web tests
As iOS Blink port started to support 17.4 version, this CL also
sets the default version of the SDK to 17.4.

Bug: 40259174
Change-Id: I61788b018458ef195db821bed1192488d4249e3c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5400862
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1281185}
2024-04-02 15:21:28 +00:00
Alex Rudenko
ddedf8e944 Allow running inspector protocol tests using protocol logs
This CL implements a flag called `--inspector-protocol-log` that accepts
a path to a Chrome DevTools Protocol message log. If specified, the test
runner would replay the log mocking the actual browser. The purpose of
this flag is to allow reproducing test flakiness locally and it is not
meant to be used on the bots for now.

Bug: 327140253
Change-Id: I871442d568878b3a1a0d71a18eb2eb721b457e76
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5331573
Reviewed-by: danakj <danakj@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1274969}
2024-03-19 16:16:58 +00:00
Victor Vianna
d7fe65c4aa [docs] Fix docs on Batch.PER_CLASS
Docs-only change. See here
https://source.chromium.org/chromium/chromium/src/+/main:base/test/android/javatests/src/org/chromium/base/test/util/Batch.java;l=39;drc=e4622aaeccea84652488d1822c28c78b7115684f

Change-Id: I1832b8899d8453a3c08d2a6eef31ea23c88d9689
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5366924
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Auto-Submit: Victor Vianna <victorvianna@google.com>
Cr-Commit-Position: refs/heads/main@{#1271705}
2024-03-12 18:32:21 +00:00
An Sung
f33f852294 [Blink] Register and update expectation for mac14/arm64 builders
There are some flaky tests that might be still failing.
The added rebaseline/expectations should improve the result.

Bug: 327500692
Change-Id: I6f91b42c32948faea9a0a0162355b3c7ca7ce00b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5332802
Commit-Queue: An Sung <ansung@google.com>
Reviewed-by: Weizhong Xia <weizhong@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Zequan Wu <zequanwu@google.com>
Cr-Commit-Position: refs/heads/main@{#1270325}
2024-03-08 19:12:33 +00:00
Alex Rudenko
16b8ecf184 Update web_tests docs
Change-Id: I6065bfc40691995c463b6e30bc4b4b95ea174e63
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5321533
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
Auto-Submit: Alex Rudenko <alexrudenko@chromium.org>
Commit-Queue: Philip Pfaffe <pfaffe@chromium.org>
Reviewed-by: Philip Pfaffe <pfaffe@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265704}
2024-02-27 10:23:15 +00:00
Weizhong Xia
aabc89f5d0 Document that tests requires internal APIs should be skipped on Chrome
Bug: 1474702
Change-Id: If7a161ad647aa87306b3c53368cbd0610f81913f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5233002
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1265048}
2024-02-26 05:05:15 +00:00
Joel Hockey
f5f032d434 Update instructions for symbolizing crash with local build
Change-Id: I68083d83c4d7dd94a9277214462763cb815711a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5298134
Commit-Queue: Joel Hockey <joelhockey@chromium.org>
Auto-Submit: Joel Hockey <joelhockey@chromium.org>
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1261410}
2024-02-16 00:03:39 +00:00
Jeff Yoon
f75905058e [buganizer] Migrate remaining DIR_METADATA in chromium/src
Migrate all remaining DIR_METADATA in chromium/src.

Verify components with http://b/components/{id} or at
go/chrome-on-buganizer-prod-components.

Bug: chromium:1518875
Change-Id: I025c51f2bbe35f95fbb62f0d308f1ff1d0b438c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5288611
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Arthur Eubanks <aeubanks@google.com>
Commit-Queue: Jeff Yoon <jeffyoon@google.com>
Cr-Commit-Position: refs/heads/main@{#1259938}
2024-02-13 18:38:14 +00:00
Weizhong Xia
a53c19f563 De-associate the headful mode with debugging
As we are planning to run the headful mode on CI to get performance
data, running in headful mode does not necessary mean debugging.

Add '--no-xvfb' to control if we do not want to start xvfb.

Bug: 1517496
Change-Id: Ia00b2ee0de380c2c8a835d9bce5c9eb71993f57b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5252105
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#1257627}
2024-02-07 22:47:33 +00:00
Jonathan Lee
61fc72853a [wpt-importer] File bugs against Buganizer, not Monorail
Monorail is read-only now. Activate the Buganizer code path, update the
WPT notification instructions, and add `buganizer_public.component_id`
to `external/DIR_METADATA` to collect all bugs for now. According to the
FAQ [0], the remaining `DIR_METADATA` will receive Buganizer component
IDs "soon after migration".

[0]: go/chrome-on-buganizer-faq

Bug: b/40257571
Change-Id: I9b0b89be29964ec46c7e09d7d39eadbf5ee23030
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5270234
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1256359}
2024-02-05 19:55:49 +00:00