Files
react-native-devtools-frontend/package.json
T
Liviu Rau dd594414b4 Publish all screenshots to resultdb
E2E tests generate screenshots at failure for both target and frontend.
Currently those screenshots are collected in an HTML file report that is
hard inspect.
We want to collect all such screenshots and present them in Milo for a
easier inspection.

Example failure with screenshots https://ci.chromium.org/ui/p/devtools-frontend/builders/try/devtools_frontend_win64_rel/b8768863777054404289/test-results

(!)Additionally we added a series of scripts to allow developers to run
tests locally and inspect the results with resultdb.


Bug: chromium:1484483, chromium:1186570, chromium:1081217
Change-Id: I2652565cc7aa00b599d0dac0d32d0bfb3d296820
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4892796
Reviewed-by: Danil Somsikov <dsv@chromium.org>
Commit-Queue: Liviu Rau <liviurau@google.com>
2023-09-28 08:21:38 +00:00

70 lines
5.2 KiB
JSON

{
"author": "The Chromium Authors",
"bugs": {
"url": "https://bugs.chromium.org/p/chromium/issues/list?can=2&q=component:Platform%3EDevTools%20&sort=-opened&colspec=ID%20Stars%20Owner%20Summary%20Modified%20Opened"
},
"description": "Chrome DevTools UI",
"homepage": "https://devtools.chrome.com",
"keywords": [
"devtools",
"chrome",
"chromium",
"blink",
"debugger"
],
"license": "BSD-3-Clause",
"name": "chrome-devtools-frontend",
"repository": {
"type": "git",
"url": "git+https://github.com/ChromeDevTools/devtools-frontend.git"
},
"scripts": {
"auto-debug-e2etest": "npm run build && npm run debug-e2etest --",
"auto-debug-interactionstest": "npm run build && npm run debug-interactionstest --",
"auto-debug-unittest": "DEBUG_TEST=1 npm run auto-unittest --",
"auto-e2etest": "vpython third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/e2e/test-runner-config.json --autoninja",
"auto-e2etest-rdb": "rdb stream -new -realm chromium:public -- npm run auto-e2etest --",
"auto-e2etest-parallel": "npm run build && npm run e2etest-parallel --",
"auto-e2etest-parallel-rdb": "rdb stream -new -realm chromium:public -- npm run auto-e2etest-parallel --",
"auto-interactionstest": "npm run build && npm run interactionstest --",
"auto-interactionstest-rdb": "rdb stream -new -realm chromium:public -- npm run auto-interactionstest --",
"auto-screenshotstest": "npm run build && third_party/node/node.py --output scripts/test/run_test_suite.js --config test/interactions/test-runner-config.json --mocha-fgrep '[screenshot]'",
"auto-screenshotstest-rdb": "rdb stream -new -realm chromium:public -- npm run auto-screenshotstest --",
"auto-unittest": "vpython3 scripts/test/run_auto_unittests.py --no-text-coverage",
"auto-unittest-rdb": "rdb stream -new -realm chromium:public -- npm run auto-unittest --",
"auto-unittest-coverage": "vpython3 scripts/test/run_auto_unittests.py --no-text-coverage --coverage",
"bake-strings": "npm run collect-strings && vpython third_party/node/node.py --output third_party/i18n/bake-strings.js front_end/core/i18n/locales",
"build": "autoninja -C out/Default",
"build-release": "autoninja -C out/Release",
"check": "npm run check-lint && npm run check-loc",
"check-external-links": "vpython third_party/node/node.py --output scripts/check_external_links.js",
"check-lint": "vpython third_party/node/node.py --output scripts/test/run_lint_check_js.mjs && vpython third_party/node/node.py --output scripts/test/run_lint_check_css.js",
"check-lint-js": "vpython third_party/node/node.py --output scripts/test/run_lint_check_js.mjs",
"check-lint-css": "vpython third_party/node/node.py --output scripts/test/run_lint_check_css.js",
"collect-strings": "vpython third_party/node/node.py --output third_party/i18n/collect-strings.js front_end",
"components-server": "vpython third_party/node/node.py --output scripts/component_server/server.js",
"debug-e2etest": "DEBUG_TEST=1 npm run e2etest",
"debug-interactionstest": "DEBUG_TEST=1 npm run interactionstest",
"debug-test": "vpython third_party/node/node.py --output scripts/npm_test.js --debug-devtools",
"debug-unittest": "DEBUG_TEST=1 npm run unittest",
"e2etest": "vpython third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/e2e/test-runner-config.json",
"e2etest-parallel": "vpython3 scripts/test/run_test_suite_parallel.py",
"eslint-test": "vpython third_party/node/node.py --output node_modules/mocha/bin/mocha \"./scripts/eslint_rules/tests/*_test.js\"",
"build-test": "vpython third_party/node/node.py --output node_modules/mocha/bin/mocha \"./scripts/build/tests/*_test.js\"",
"generate-dark-mode-styles": "vpython third_party/node/node.py --output scripts/dark_mode/generate_dark_theme_sheet.js",
"generate-protocol-resources": "scripts/deps/generate_protocol_resources.py && git cl format --js",
"install-deps": "scripts/deps/manage_node_deps.py",
"interactionstest": "vpython third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/interactions/test-runner-config.json",
"perf": "vpython third_party/node/node.py --output scripts/test/run_test_suite.js --config=test/perf/test-runner-config.json",
"prebuild": "gn gen out/Default",
"setup-dtrun": "cd scripts/devtools_run && npm link",
"start": "node -e 'console.log(`This script has been removed in favor of --custom-devtools-frontend. For more information, see https://docs.google.com/document/d/1COgCBWWuTh2o-Zbp6h_z0h0LtlJaimaEDsION4RZPxc/edit?usp=sharing`);'",
"stylelint-test": "vpython third_party/node/node.py --output ./node_modules/.bin/mocha \"./scripts/stylelint_rules/tests/*_test.js\"",
"test": "vpython third_party/node/node.py --output scripts/npm_test.js",
"test-local": "vpython third_party/node/node.py --output scripts/npm_test.js --layout-tests-directory=test/webtests/",
"ts_library-test": "./third_party/typescript/tests/verify_ts_libary.sh",
"unittest": "vpython3 scripts/test/run_unittests.py --no-text-coverage",
"watch": "vpython third_party/node/node.py --output scripts/watch_build.js"
}
}