Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: chrome/test/data/webui/print_preview/print_preview_ui_browsertest.js

Issue 2927653002: WebUI: Move test_browser_proxy.js one level up. (Closed)
Patch Set: Remove namespace Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** @fileoverview Runs the Print Preview tests. */ 5 /** @fileoverview Runs the Print Preview tests. */
6 6
7 var ROOT_PATH = '../../../../../'; 7 var ROOT_PATH = '../../../../../';
8 8
9 /** 9 /**
10 * @constructor 10 * @constructor
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 'multipleLabelableElementsPerLabel', 48 'multipleLabelableElementsPerLabel',
49 '#page-settings > .right-column > *'); 49 '#page-settings > .right-column > *');
50 }, 50 },
51 51
52 extraLibraries: [ 52 extraLibraries: [
53 ROOT_PATH + 'ui/webui/resources/js/cr.js', 53 ROOT_PATH + 'ui/webui/resources/js/cr.js',
54 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', 54 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
55 ROOT_PATH + 'third_party/mocha/mocha.js', 55 ROOT_PATH + 'third_party/mocha/mocha.js',
56 ROOT_PATH + 'chrome/test/data/webui/mocha_adapter.js', 56 ROOT_PATH + 'chrome/test/data/webui/mocha_adapter.js',
57 ROOT_PATH + 'ui/webui/resources/js/util.js', 57 ROOT_PATH + 'ui/webui/resources/js/util.js',
58 ROOT_PATH + 'chrome/test/data/webui/settings/test_browser_proxy.js', 58 ROOT_PATH + 'chrome/test/data/webui/test_browser_proxy.js',
59 'print_preview_tests.js', 59 'print_preview_tests.js',
60 'native_layer_stub.js', 60 'native_layer_stub.js',
61 ], 61 ],
62 }; 62 };
63 63
64 // Run each mocha test in isolation (within a new TEST_F() call). 64 // Run each mocha test in isolation (within a new TEST_F() call).
65 [ 65 [
66 'PrinterList', 66 'PrinterList',
67 'PrinterListCloudEmpty', 67 'PrinterListCloudEmpty',
68 'RestoreLocalDestination', 68 'RestoreLocalDestination',
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // Disable accessibility errors for some tests. 107 // Disable accessibility errors for some tests.
108 [ 108 [
109 'AdvancedSettings1Option', 109 'AdvancedSettings1Option',
110 'AdvancedSettings2Options', 110 'AdvancedSettings2Options',
111 ].forEach(function(testName) { 111 ].forEach(function(testName) {
112 TEST_F('PrintPreviewUIBrowserTest', testName, function() { 112 TEST_F('PrintPreviewUIBrowserTest', testName, function() {
113 this.accessibilityIssuesAreErrors = false; 113 this.accessibilityIssuesAreErrors = false;
114 mocha.grep(new RegExp(testName + '\\b')).run(); 114 mocha.grep(new RegExp(testName + '\\b')).run();
115 }); 115 });
116 }); 116 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698