OLD | NEW |
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 Loading... |
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'); |
OLD | NEW |