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

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

Issue 2885363003: Add policy to use system default printer (Closed)
Patch Set: Remove IOS checks 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 96 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 });
117
118 GEN('#if !defined(OS_CHROMEOS)');
119 TEST_F('PrintPreviewUIBrowserTest', 'SystemDefaultPrinterPolicy', function() {
120 loadTimeData.overrideValues({useSystemDefaultPrinter: true});
121 mocha.grep(new RegExp('SystemDefaultPrinterPolicy' + '\\b')).run();
122 });
123 GEN('#endif');
OLDNEW
« no previous file with comments | « chrome/test/data/webui/print_preview/print_preview_tests.js ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698