| Index: chrome/test/data/webui/print_preview.js
|
| diff --git a/chrome/test/data/webui/print_preview.js b/chrome/test/data/webui/print_preview.js
|
| index e87d594b2706a285f6697f4115e60894aba47895..a86cf205acc933a6f6ed7bc59439665bcb2cdd6f 100644
|
| --- a/chrome/test/data/webui/print_preview.js
|
| +++ b/chrome/test/data/webui/print_preview.js
|
| @@ -313,9 +313,7 @@ TEST_F('PrintPreviewWebUITest', 'TestSectionsDisabled', function() {
|
|
|
| // When the source is 'PDF' and 'Save as PDF' option is selected, we hide the
|
| // fit to page option.
|
| -TEST_F('PrintPreviewWebUITest',
|
| - 'PrintToPDFSelectedHideFitToPageOption',
|
| - function() {
|
| +TEST_F('PrintPreviewWebUITest', 'PrintToPDFSelectedCapabilities', function() {
|
| // Add PDF printer.
|
| this.initialSettings_.isDocumentModifiable_ = false;
|
| this.initialSettings_.systemDefaultDestinationId_ = 'Save as PDF';
|
| @@ -359,6 +357,7 @@ TEST_F('PrintPreviewWebUITest',
|
| this.nativeLayer_.dispatchEvent(capsSetEvent);
|
|
|
| checkSectionVisible($('other-options-settings'), false);
|
| + checkSectionVisible($('media-size-settings'), false);
|
| });
|
|
|
| // When the source is 'HTML', we always hide the fit to page option and show
|
| @@ -411,7 +410,7 @@ TEST_F('PrintPreviewWebUITest', 'SourceIsPDFCapabilities', function() {
|
| expectTrue(
|
| $('other-options-settings').querySelector('.fit-to-page-checkbox').
|
| checked);
|
| - checkSectionVisible($('media-size-settings'), false);
|
| + checkSectionVisible($('media-size-settings'), true);
|
| });
|
|
|
| // When the print scaling is disabled for the source "PDF", we show the fit
|
|
|