summaryrefslogtreecommitdiffstats
path: root/components/components_browsertests.isolate
diff options
context:
space:
mode:
authornyquist <nyquist@chromium.org>2015-04-13 12:13:50 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-13 19:14:15 +0000
commitf2bd69ae5e61797b713833f67dc7ecb557a51f15 (patch)
tree084d2cd9040fb21d766103d0aa723732f77c3b9b /components/components_browsertests.isolate
parent2411f2af4b2f92c725c0798400bc1253bae40e46 (diff)
downloadchromium_src-f2bd69ae5e61797b713833f67dc7ecb557a51f15.zip
chromium_src-f2bd69ae5e61797b713833f67dc7ecb557a51f15.tar.gz
chromium_src-f2bd69ae5e61797b713833f67dc7ecb557a51f15.tar.bz2
Add browsertest for running DOM Distiller JS tests.
The JavaScript parts of DOM Distiller lives in a different repository, and is using ChromeDriver to run the JS-based tests. This CL adds a browsertest using Content Shell to run the same tests. The tests are run as a single gtest in Chromium, and fails only if the 'success' JSON-field is parsed to be false. The console log output is suppressed while the tests are run, but it is output if the test fails. BUG=471854 Review URL: https://codereview.chromium.org/880553004 Cr-Commit-Position: refs/heads/master@{#324894}
Diffstat (limited to 'components/components_browsertests.isolate')
-rw-r--r--components/components_browsertests.isolate1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/components_browsertests.isolate b/components/components_browsertests.isolate
index f384f85f..2dff53a 100644
--- a/components/components_browsertests.isolate
+++ b/components/components_browsertests.isolate
@@ -39,6 +39,7 @@
'files': [
'test/data/',
'../testing/test_env.py',
+ '../third_party/dom_distiller_js/dist/test/data/',
'<(PRODUCT_DIR)/components_browsertests<(EXECUTABLE_SUFFIX)',
'<(PRODUCT_DIR)/components_tests_resources.pak',
'<(PRODUCT_DIR)/content_shell.pak',