Files
react-native-devtools-frontend/test/webtests
Simon Zünd eeaa7945ba [lighthouse] Fix lighthouse web tests
This CL fixes the lighthouse web tests sitting in the DevTools repo.
The `GetStorageAndQuota` CDP method can fail now due to storage
partitioning, so we have to account for that error.

Another bug seems to be that changing the throttling drop down
does not affect the underlying setting, so we change the test to
massage the settings directly instead of poking the UI.

Bug: None
Change-Id: Ib7f4e3845722bde7dd1fd86b99896a8339414d87
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3769874
Commit-Queue: Simon Zünd <szuend@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
2022-07-21 06:24:55 +00:00
..
2021-07-07 10:11:57 +00:00

This folder is for Chrome-specific tests only. Tests that should work across
browsers should be placed in third_party/blink/web_tests/external/wpt.

When using the [integrated checkout workflow](https://chromium.googlesource.com/devtools/devtools-frontend/+/main/docs/workflows.md#Integrated-checkout), web tests from the DevTools repository can be run as via the following command:

```bash
third_party/blink/tools/run_web_tests.py -t Default --layout-tests-directory=third_party/devtools-frontend/src/test/webtests/ http/tests/devtools/lighthouse/
```

For more information about blink tests, please see the Chromium documentation on Web Tests (formerly known as "Layout Tests" or "LayoutTests"):
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_tests.md

For more information about web platform tests, please see:
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md