0
Commit Graph

326 Commits

Author SHA1 Message Date
Andrew Grieve
a971215fa4 android_instrumentation_tests.md: Delete obsolete info
* Removes mention of JUnit 3 and non-androidx size annotations
* Makes more heading appear in the table of contents.

Change-Id: I9d296ff81da57166accc474d05f587a64d62ad27
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5115110
Reviewed-by: Haiyang Pan <hypan@google.com>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1236486}
2023-12-12 19:22:49 +00:00
Weizhong Xia
b731e2728f Rename linux-wpt-fyi-rel
Rename this to linux-wpt-chromium-rel. And next step is to move this to
main waterfall.

Bug: 1339410, 1382931
Cq-Include-Trybots: luci.chromium.try:linux-wpt-chromium-rel
Change-Id: Iadcaa7d6b77371ef65e181ce7d96af2e180572a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5068651
Commit-Queue: Weizhong Xia <weizhong@google.com>
Auto-Submit: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1230316}
2023-11-28 23:56:18 +00:00
Jonathan Lee
80280d27ae [docs][web-tests] Update web test expectation documentation
1. Describe `ChromeTestExpectations`.
2. Update outdated information about flag-specific rebaselining.
3. Remove outdated information about `WontFix`, `Rebaseline`, and
   `Missing`; no expectation files use these anymore.
4. Remove references to the old flakiness dashboard.
5. Describe the virtual -> base TestExpectations fallback behavior.
6. Repair some dead links.

Bug: 1474702, 1429690
Change-Id: Id25d92a0200954f586edf11e2932675a53df0b1f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5063123
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1229574}
2023-11-27 22:40:56 +00:00
Weizhong Xia
c994d2c766 Fix broken document links
Due to the remover of web_platform_tests_wptrunner.md, some links are
broken now. Fix those links with a new one.

Bug: 1474702
Change-Id: Ic622d409bc014c5925f5612897c4bd0d82c3322b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5037915
Auto-Submit: Weizhong Xia <weizhong@google.com>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1226140}
2023-11-17 16:13:13 +00:00
Weizhong Xia
08b2af1a06 Move Chrome specific test expectations to a separate file
This allows us to easily override test expectations from
TestExpectations. Otherwise we will have to split tags to
avoid conflicts.

Bug: 1499775
Cq-Include-Trybots: luci.chromium.try:linux-wpt-fyi-rel
Change-Id: Ib3c559a6b3b95b72178b8947c1749394fb963b90
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5021829
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1224078}
2023-11-14 04:09:00 +00:00
Jonathan Lee
f07495eff6 [infra][wptrunner] Set up final Chrome on Linux try builder (1/n)
No-op renames of `webdriver_{tests_suite -> wpt_tests}` and
`wpt_tests_suite` (for Chrome) to `chrome_wpt_tests`.

All WPT suite names now follow the pattern `*_wpt_tests`. Also, `wpt` in
`webdriver_wpt_tests` distinguishes that suite from chromedriver's
non-WPT suites.

Bug: 1474702
Change-Id: Ic075372693bf3c270c4fb00c17b2905c3f1cb932
Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5014293
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Auto-Submit: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#1221982}
2023-11-09 00:21:39 +00:00
dpapad
3eef948b98 Docs: Be explicit about how to tell covered/non-covered lines in Gerrit.
The previous wording relied too much on the screenshot and did not point
out exactly what the user should look for (background color of line
number). Spelling it out to save future readers time.

Bug: None
Change-Id: Id447caae7116124f2ac5a31fb5346afa6a07f7c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5013947
Reviewed-by: Tibor Goldschwendt <tiborg@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1221797}
2023-11-08 19:13:41 +00:00
Weizhong Xia
c326c31797 Document how to run and rebaseline webdriver tests
It is agreed that wpt metadata are too complicated to handle, and we
have decided to continue use test expectations and baselines for
run_wpt_tests.py, and convert that back to metadata when running
the test. Update the document to explain how to run and rebaseline
webdriver tests.

Bug: 1474702
Change-Id: I46a9077800c55d7a8cf6ad208b6886b7799ce6db
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4998687
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Thiago Perrotta <tperrotta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1219149}
2023-11-02 22:10:42 +00:00
Weizhong Xia
be863d725a Update document for run_wpt_tests.py
Update document for run_wpt_tests.py and make chrome the default
target.

Bug: 1474702
Change-Id: I17c050d14a1385c150cb06b11e43bc66049a16d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4995989
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#1218505}
2023-11-01 22:36:15 +00:00
Rebekah Potter
6f5c0035c5 WebUI: Remove outdated test documentation
This test file is outdated and has been replaced by the up to date
docs/testing_webui.md

Bug: 1457360
Change-Id: Iac6b6501f62238796acc69126b5350129928e2f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4994753
Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1217893}
2023-10-31 21:44:40 +00:00
Keren Zhu
1f7b99dab8 Add interactive_ui_tests/BrowserInteractiveUiTest.Invoke
This new test is the equivalent of browser_tests/BrowserUiTest.Invoke
for interactive_ui_tests. It is useful for running interactive_ui_tests
interactively locally.

Bug: None
Change-Id: I1488a4d72414f114d3b9b3e8aa8500d0715a3eae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4909917
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Stefan Kuhne <skuhne@chromium.org>
Commit-Queue: Keren Zhu <kerenzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1205558}
2023-10-04 23:47:32 +00:00
Andrew Grieve
b5b3bb3d3e Consolidate Android testing docs /testing/android/docs -> /docs/testing
This should hopefully make them more discoverable.

Bug: None
Change-Id: I65885c50b655a8b867cdc9224bd1be59822dcb14
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4908056
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Owners-Override: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Haiyang Pan <hypan@google.com>
Reviewed-by: James Shen <zhiyuans@google.com>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1205217}
2023-10-04 13:55:51 +00:00
nihardamar
3afa556646 add instructions for buganizer components
Give instructions for owners to add their individual buganizer
components to be automatically notified by the notifier.

link to proto:
[`dir_metadata` proto](https://source.chromium.org/chromium/infra/infra/+/HEAD:go/src/infra/tools/dirmd/proto/dir_metadata.proto)

Bug: 1418166
Change-Id: I61c26b7b9cdffefe672e4c9882290a045e28b56c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4881260
Reviewed-by: Weizhong Xia <weizhong@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Commit-Queue: Nihar Damarasingu <nihardamar@google.com>
Cr-Commit-Position: refs/heads/main@{#1202857}
2023-09-28 21:41:21 +00:00
Jonathan Lee
e95877fe72 [wptrunner] Add run_wpt_tests.py support to debug_renderer
Add support for interactively debugging WPTs with upstream's `wpt run`.
`run_wpt_tests.py --verbose` ensures browser logs are dumped to stdout
so that `debug_renderer` can find the PID to attach to.

Bug: 1440021
Test: ./debug_renderer ./run_wpt_tests.py -t Default
Test: external/wpt/badging/badge-success.https.html
Change-Id: I58323aea67f6232bc28b198b8f18d3d7bb7d8a7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4893148
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1201810}
2023-09-26 21:16:30 +00:00
Prakhar
c7ae92e08e Update documentation on blocking low coverage CLs.
Bug: 1412897
Change-Id: I3d22e56bb8706cb06a446a5b40ae1a7c054a7980
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4875201
Auto-Submit: Prakhar Asthana <pasthana@google.com>
Reviewed-by: Zhaoyang Li <zhaoyangli@chromium.org>
Commit-Queue: Zhaoyang Li <zhaoyangli@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1198889}
2023-09-20 09:34:52 +00:00
Jonathan Lee
5241efd87f [wptrunner][docs] Document run_wpt_tests.py --reset-results
Also, summarize the behavior of `--reset-results` (crrev.com/c/4860008)
in `run_wpt_tests.py --help`.

Fixed: 1480061
Bug: 1479953
Change-Id: I25308211cbe1fa610abcacf4e8df6d1daacd5cff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4867136
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1196862}
2023-09-14 22:36:36 +00:00
Struan Shrimpton
ecbd92bd62 [infra] Remove RTS from builder configs and mb
Also remove some docs. The last changes will be the gn which requires
different owners so those will be in separate CLs

Bug: 1469110
Change-Id: Ifa255da0742ff543e289b481af7c80f8f7dd3103
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4857198
Commit-Queue: Struan Shrimpton <sshrimp@google.com>
Reviewed-by: Garrett Beaty <gbeaty@google.com>
Cr-Commit-Position: refs/heads/main@{#1195423}
2023-09-12 15:46:27 +00:00
Henrique Nakashima
b34188674b [Android] Update batching_instrumentation_tests.md
Fix a couple of nits and add more information.

Change-Id: I6d32231cff8a29759bd691ae1ecc109ed324e457
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4854299
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1194956}
2023-09-11 18:26:07 +00:00
Weizhong Xia
711d3e6001 Use chrome_wpt_tests as build target for chrome
Renamed chrome_wpt to chrome_wpt_tests to be consistent, and
removed webdriver_wpt_tests which is essentially running web
driver tests only with chrome.

Updated configurations and documents as necessary.

Bug: 1474702
Change-Id: If362c39c5929b00658a2a2dbbf0d7d3089e0633a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4847474
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Vladimir Nechaev <nechaev@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Haiyang Pan <hypan@google.com>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#1194942}
2023-09-11 18:04:35 +00:00
Hayato Ito
33c9a1f7a5 Use the standard-compliant forbidden character '^' as an invalid URL
Currently, in the rewriting rule of the test runners, "~NOTFOUND" is
used as an invalid URL. However, '~' is NOT a forbidden character
according to the URL standard.

Chromium is addressing [1] this non-compliant behavior and will permit
'~' character in URL hosts. Thus, we can no longer use "~NOTFOUND" as
it will become a valid URL.

As an alternative, any invalid character is acceptable. Let's use '^'
because '^' is a forbidden character both before and after the CL [1].

The PR for WPT Chrome runner is:
https://github.com/web-platform-tests/wpt/pull/41840/

[1]: https://crrev.com/c/4823237

Bug: 1416013
Change-Id: Id8767ab49b54e778da53113aa4995e098bdbee59
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4845589
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Hayato Ito <hayato@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Reviewed-by: Chidera Olibie <colibie@google.com>
Reviewed-by: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1194658}
2023-09-11 02:38:41 +00:00
Andrew Grieve
43a5cf8508 Tweak @Batch PRESUBMIT message and docs
* Makes them a bit more concise.
* Mentions @DoNotBatch in the markdown
* Mentions batching as separate changes in presubmit warning.

Bug: None
Change-Id: I4e12a7530d7f7e56d3fd1b0e0af2ecc27efe77ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4851187
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Reviewed-by: Nate Fischer <ntfschr@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1194114}
2023-09-08 15:09:46 +00:00
Weizhong Xia
ed62b32ffa Create Wpt builder for mac11 arm64
This is needed for creating metadata files for mac11 arm64.

Resource request is approved in crbug.com/1382931

Bug: 1474702, 1382931
Change-Id: Iaf10cca025be476ceaa552ecc2834311b37eef92
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4836655
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Haiyang Pan <hypan@google.com>
Cr-Commit-Position: refs/heads/main@{#1192622}
2023-09-05 19:34:15 +00:00
Gyuyoung Kim
13603829cd [iOS] Add Support for Running Web Tests on iOS Blink Port
In the iOS Blink port, running web tests is essential
to assess the level of support for various web features
and functionalities. This change includes necessary
additions to enable the execution of web tests on the
iOS Blink port.

co-author: mkim@ solved the timeout issue by adding
a custom UIApplication that overrides IsRunningTests.

Bug: 1421239
Change-Id: I8835097f628280c76d1213a16a29d6cdddd19ecb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4712370
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Rohit Rao <rohitrao@chromium.org>
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Reviewed-by: Peter Beverloo <peter@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1191108}
2023-09-01 01:32:34 +00:00
Jonathan Lee
ab2a97b2d3 [rebaseline-cl] Simplify fill-missing UX
Based on discussion in crbug.com/1475247, `rebaseline-cl --fill-missing`
still seems useful for downloading platform-agnostic expectations
without the round-trip of retrying infrastructure failures, but it's not
a feature users actively seek out. Therefore:
* Hide the `--{no-,}fill-missing` options with a deprecation message
  (i.e., the feature is only available for infrastructure failures).
  There's no automation that uses these options.
* Remove a redundant user prompt. It's no longer possible to continue
  with incomplete results.

Bug: 1383284
Change-Id: Icdedba8e406252041da4fa7ccaf4c6f60ef1ce8f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4824713
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1190222}
2023-08-30 17:57:41 +00:00
An Sung
183d2ac410 Set wpt-importer notification from opt-in to opt-out
Bug: 1454853
Change-Id: I59e1c4927de0f79e4581d0cf593a1217eb038817
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4803074
Reviewed-by: Weizhong Xia <weizhong@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Commit-Queue: An Sung <ansung@google.com>
Cr-Commit-Position: refs/heads/main@{#1187581}
2023-08-24 00:05:08 +00:00
Daniel Andersson
58f6b15e37 crosier: Fix go link in doc
This updates a markdown link from go/crosier-run to
http://go/crosier-run, since the former is interpreted as a relative
path when the markdown is rendered in code search.

Change-Id: I83cb3812245a57498483ff0897591bd03371081b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4786250
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1184392}
2023-08-16 21:31:15 +00:00
James Cook
ba4f77cde1 Fix typo in crosier docs
Change-Id: I15b34a02eb151898c386baec49d20b7429c72e7e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4775419
Reviewed-by: Dan Erat <derat@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1182677}
2023-08-11 18:01:05 +00:00
Sven Zheng
f8dcbbb307 Crosier: Update documentation
Bug: 1464750
Change-Id: I8be4de352f7c5daaa05e454df9e992021ad7395c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4734836
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: Sven Zheng <svenzheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1177457}
2023-07-31 20:39:26 +00:00
Sven Zheng
6c3b602a2e Add how_to_repro_bot_failures.md
Having a doc for repro bot failures locally is helpful and
I've got many questions in the past that can be answered by
such a doc. Hope this doc can be helpful for any new Chromium
developers.

Bug: 1467350
Change-Id: I9d4dc839c24004685b5b6113ce288cd47fdc7703
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4711854
Commit-Queue: Sven Zheng <svenzheng@chromium.org>
Reviewed-by: Jenny Zhang <jennyz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1176748}
2023-07-28 18:53:55 +00:00
James Cook
2f730e9a94 crosier: Update docs/testing/chromeos_integration/README.md
Avoid the use of the word "framework". Say that the test suite is
like interactive_ui_tests (since Crosier tests run in series).

Bug: None
Change-Id: Ia67d2031e2d4704459e2b177f11ebade9bf6b485
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4726501
Reviewed-by: Sven Zheng <svenzheng@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1176577}
2023-07-28 13:03:07 +00:00
Jonathan Lee
b42a72a6c6 [wptrunner][docs] Fix some formatting issues
Bug: 1442392
Change-Id: I379aa5a782f0df0c84cf6488094954b3338ec7ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4723150
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Nihar Damarasingu <nihardamar@google.com>
Cr-Commit-Position: refs/heads/main@{#1176130}
2023-07-27 17:02:22 +00:00
An Sung
65d9eab391 [webtest] rename directory from SmokeTests to TestLists
Bug: 1452264
Change-Id: Ia0ecafc1a5322bd705ffe131aaf2649078f15cfa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4654766
Commit-Queue: An Sung <ansung@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Ali Juma <ajuma@chromium.org>
Reviewed-by: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#1175194}
2023-07-26 01:38:43 +00:00
Sven Zheng
8b14f5fa84 crosier: Add documentation
Bug: b/292541227
Change-Id: I010afa5284a4ae905dd232f5a52b722b93be4c60
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4712413
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: Sven Zheng <svenzheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1174397}
2023-07-24 20:10:40 +00:00
Jonathan Lee
1124233e15 [wptrunner][docs] Update wptrunner user guide
* Add new section on how to view the test results and what they are.
* Add new section on testing flag-specific, platform-specific, and
  virtual configurations.
* Update builder list.
* Reference wptrunner support from the web test/WPT documents.
* Remove staleness warning because the project has stabilized.
* Replace image that is too large in the debugging section with a
  smaller lower-quality version.
* General rewording.

Bug: 1442392
Change-Id: If659ea0195d73060b2da961538a8225480c81aeb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4654034
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1174325}
2023-07-24 18:20:41 +00:00
Yotam Hacohen
a949ab1a98 add a skip_base_tests flag to skip tests that appear in a virtual suite
This change will allow us to create the virtual suite for SingleThreaded
tests and only run the single threaded version of those tests, without
affecting other virtual suites.
This will allow to start running most WPT tests with threaded
compositing while keep running a small amount of the tests
single threaded.

Bug: 1463799
Change-Id: Ifa885d23fffcb1277726aecfc7b66bf2edc39442
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4698657
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Yotam Hacohen <yotha@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1172584}
2023-07-19 21:18:14 +00:00
Thiago Perrotta
4dd51a6445 webdriver: map webdriver classic tests to the monorail component
When tests under `webdriver/tests/classic` newly fail in a WPT import,
the importer will automatically file a bug against the
`Tests>WebDriver` component in [crbug.com](https://crbug.com), with
details of which tests failed and the outputs.

R=nechaev@chromium.org

Bug: 1454853
Change-Id: I3ec9584676171ef00ff137058ac09cde9569ea3c
Docs: https://crsrc.org/c/docs/testing/web_platform_tests.md#new-failure-notifications
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4687696
Reviewed-by: Vladimir Nechaev <nechaev@chromium.org>
Commit-Queue: Thiago Perrotta <tperrotta@chromium.org>
Auto-Submit: Thiago Perrotta <tperrotta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1170640}
2023-07-14 19:10:13 +00:00
Thiago Perrotta
e7e240c75f blink: document skipped bidi tests and fix typos
Change-Id: I80e808f1d9b05e351fe93c4da2dd93ddffcc426e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4684134
Auto-Submit: Thiago Perrotta <tperrotta@chromium.org>
Reviewed-by: Vladimir Nechaev <nechaev@chromium.org>
Commit-Queue: Thiago Perrotta <tperrotta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1170626}
2023-07-14 18:37:57 +00:00
Jonathan Lee
aafbd5ef04 [wpt-importer] File bugs by most specific DIR_METADATA, not OWNERS
Currently, failing imported tests are grouped by most specific OWNERS
file for notification. However, some WPT directories only have
DIR_METADATA and not OWNERS; failures in these directories will not get
any notifications, even if the DIR_METADATA has opted in.

This change groups failures by most specific DIR_METADATA instead, since
DIR_METADATA are generally better maintained and hold information for
filing bugs. The team email is now CC'ed (if available), but continue
CC'ing OWNERS from the same directory (if available). For most top-level
directories with both DIR_METADATA and OWNERS, this notification
behavior represents no change.

Update the documentation accordingly.

Bug: 1456825
Change-Id: Idcade096908f58ac9d214297627d614231d68969
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4662112
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#1168480}
2023-07-11 01:52:39 +00:00
Jonathan Lee
510e12ddb2 [wptrunner][docs] Add side-by-side examples for WPT metadata
To help users understand WPT metadata, this change adds equivalent
examples in TestExpectations/*-expected.txt format.

Also:
* Update the finalized table of properties.
* General rewording.

Bug: 1442392
Change-Id: Ifcf856fc9fe2d48f7e658e19ce5db596d1a78d9b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4649951
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1163272}
2023-06-27 22:52:52 +00:00
Jonathan Lee
cced5386c2 [wptrunner] Restore headful debugging
This change restores and documents a `run_wpt_tests.py --no-headless`
flag that is plumbed through to `wpt run`. `--no-xvfb` has been removed,
since the need for Xvfb is directly tied to headless mode.

Bug: 1440021, 1442392
Change-Id: I938a64c5539b86042260b0ecd87d120b1202aa94
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4650693
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#1163076}
2023-06-27 17:46:54 +00:00
Jonathan Lee
c6b14a4183 [wptrunner] Rename wptrunner script test targets
This change finalizes targets the user guide will teach developers to
build. The names were picked to be:
* Short: Including `tests` or `isolate` is redundant.
* Descriptive: Make it obvious `wpt_tests_isolate` tests against chrome.
* Consistent: Other targets follow a `<product>_<test-type>` convention:
  * `system_webview_wpt`
  * `content_shell_crash_test`
  * `android_webview_junit_tests`

Bug: 1442392
Change-Id: Id227c981538b624d3ad5e8c829e67c0152920b5a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4629897
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Ali Juma <ajuma@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1161514}
2023-06-22 23:16:46 +00:00
danakj
7e0ef7b718 Remove isolated test args that are not needed on mac-rust bot
And disable the test_shared_library_unittests test on Mac, as it
fails on the bot due to the DLL not being present, just like on
Windows component builds.

R=lukasza@chromium.org

Bug: 1386212, 1442273
Change-Id: I73ca099d28dd69a13cc013b69e4ff73d412fd3b2
Cq-Include-Trybots: luci.chromium.try:android-rust-arm32-rel,android-rust-arm64-dbg,android-rust-arm64-rel,linux-rust-x64-dbg,linux-rust-x64-rel,mac-rust-x64-rel,win-rust-x64-dbg,win-rust-x64-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4544956
Commit-Queue: Dirk Pranke <dpranke@google.com>
Auto-Submit: danakj <danakj@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/main@{#1146235}
2023-05-18 22:38:57 +00:00
Jonathan Lee
dfcfcf4dc0 [rebaseline-cl] Generate dummy all-pass baselines when necessary
The warning about clobbering all-pass statuses (crrev.com/c/4334979) is
not useful when the affected builder/test passes expectedly (so it
generates no `actual_text` to download). In this change, `rebaseline-cl`
instead automatically generates a dummy baseline that `run_web_tests.py`
and `optimize-baselines` recognize as all-pass. This preserves subtest
-level coverage for failing platforms.

These dummy baselines should rarely be necessary, so this change's
impact on checkout size should be negligible. The dummy baselines are
self-documenting and link to the relevant web test documentation, which
this change updates.

Bug: 1324638
Test: To test the `run_web_tests.py` side:
Test: For `external/wpt/badging/badge-success.https.html`, create an
Test: abbreviated all-pass baseline for linux (host platform) and a
Test: failing baseline for win.
Test: `./run_web_tests.py -t Default external/wpt/badging` succeeds
Change-Id: I4a94fb4fda5c566ab0b5838c8ac913c6ee6cccce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4385729
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1124532}
2023-03-31 01:10:30 +00:00
Raphael Kubo da Costa
fec70fa481 docs: Update references in web_platform_tests.md.
* Update the reference to FILES.cfg after it was deprecated in
  https://crrev.com/c/3350245
* Replace all references to the ecosystem-infra mailing list with
  blink-dev following
  https://groups.google.com/a/chromium.org/g/ecosystem-infra/c/qSQK4xuUZwE/m/g1kpXzJpBgAJ.

Change-Id: Ifd1d42e4c9ee4a021cf3bdf3de1881c70db18022
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4302732
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Auto-Submit: Raphael Kubo Da Costa <raphael.kubo.da.costa@intel.com>
Cr-Commit-Position: refs/heads/main@{#1112303}
2023-03-02 18:36:44 +00:00
Robert Kaplow
8202763cc9 Add info about testing not uploading to the histogram docs.
While not really about histograms, this seems like the best spot to put this information.

I don't have much direct information here in terms of how this is configured, but not sure how necessary it is (and honestly, how this is configured, maybe the test doc reviewer may know more).


Bug: 1414862
Change-Id: Idf39a4b9ee3ac85668da8c13b18427ef60dd156b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4240979
Commit-Queue: Robert Kaplow <rkaplow@chromium.org>
Reviewed-by: Alexei Svitkine <asvitkine@chromium.org>
Reviewed-by: David Jacobo <djacobo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1104509}
2023-02-13 16:31:52 +00:00
Nihar Damarasingu
24703e279e [blinkpy] Register mac13 port and add new baselines
Note to sheriffs: If this CL causes a few new failures,
please fix the failures by adding new
lines to TestExpectations rather than reverting.

In this CL we are adding mac13 and mac13-arm64 builders. In order to
achieve this the CL also adds the new baselines for the new builders
by running the rebaseline tool on the new builds.
Also add the ports to the necessary files in order for the builders
to properly run on Mac13 and Mac13-arm64.

Change-Id: Ifc230fc805ce1b44c438d1de21f08e7fe95a901f
Bug: 1372533
Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac10.13-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac10.14-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac10.15-blink-rel
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:win10.20h2-blink-rel
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4197702
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Nihar Damarasingu <nihardamar@google.com>
Cr-Commit-Position: refs/heads/main@{#1101843}
2023-02-06 23:39:39 +00:00
Weizhong Xia
c76b9204a5 Make it clear wildcard is only allowed at the end of test name
As such request comes in repeatedly from time to time, make it
clear in document that this is intentionally not supported.

Bug: 1406345
Change-Id: I95bf4739c64150f603c5f90234da0952021beac7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4220473
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Auto-Submit: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#1100741}
2023-02-03 00:13:02 +00:00
Jonathan Lee
35bedec945 [docs] Add setup instructions for new flag-specific suites in CQ/CI
Also, drive-by table formatting fix.

Bug: 1406978
Change-Id: I5b7dc12dbb193fa846a6be31df0c0363d11939d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4181076
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1097519}
2023-01-26 18:58:20 +00:00
Jonathan Lee
ff938aaff9 [blinkpy] Disallow rebaselining with CQ builders
Since crrev.com/c/4163628, `rebaseline-cl` no longer depends on CQ
builders and no longer triggers them by default. This saves test
capacity and avoids `dcheck_always_on` discrepancies [1, 2]. Except for
`fuchsia-x64-rel`, which has no `*-blink-rel` counterpart, remove such
builders from `builders.json`.

The `--use-blink-try-bots-only` flag is now effectively a no-op, so
remove it too.

[1]: https://source.chromium.org/chromium/chromium/src/+/main:tools/mb/mb_config_expectations/tryserver.chromium.linux.json;l=445;drc=415aef16ad64c5d20b4bcec586c5a1951a1228e8;bpv=0;bpt=0
[2]: https://source.chromium.org/chromium/chromium/src/+/main:tools/mb/mb_config_expectations/tryserver.blink.json;l=4;drc=6434cdb642b846ffb7d32ecac9a226104f229ebe;bpv=0;bpt=0

Bug: 1406978
Change-Id: If596dc23c2d74fe296ee342b75e612f30e823481
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4174147
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1094562}
2023-01-19 18:09:49 +00:00
Struan Shrimpton
33b919d98d Update regression-test-selection.md
This page is now pointed to by builds using RTS to explain what's
going on. Added information on what's happening and how to disable

Bug: 1344885
Change-Id: I2588ca4fb2c01cf989f4015aaff6dddfa515e525
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4157733
Commit-Queue: Struan Shrimpton <sshrimp@google.com>
Reviewed-by: Stephanie Kim <kimstephanie@google.com>
Cr-Commit-Position: refs/heads/main@{#1091551}
2023-01-11 23:10:15 +00:00