Commit 28819f49 authored by rbpotter's avatar rbpotter Committed by Commit Bot

Print Preview: Reorder tests from bad rebase

In https://crrev.com/c/1186115, the patch was rebased incorrectly and
a SettingsSection test was moved down below the Policy tests. Move the
test to the correct location.

Bug: None
Change-Id: I6102d9688eef5476e0239a8e824968f1b399aaea
Reviewed-on: https://chromium-review.googlesource.com/1207312Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588937}
parent 4dae02cc
......@@ -158,6 +158,14 @@ TEST_F('PrintPreviewSettingsSectionsTest', 'ColorManaged', function() {
this.runMochaTest(settings_sections_tests.TestNames.ColorManaged);
});
TEST_F(
'PrintPreviewSettingsSectionsTest', 'DisableMarginsByPagesPerSheet',
function() {
loadTimeData.overrideValues({pagesPerSheetEnabled: true});
this.runMochaTest(
settings_sections_tests.TestNames.DisableMarginsByPagesPerSheet);
});
PrintPreviewPolicyTest = class extends NewPrintPreviewTest {
/** @override */
get browsePreload() {
......@@ -198,14 +206,6 @@ TEST_F('PrintPreviewPolicyTest', 'DisableHeaderFooterByPolicy', function() {
this.runMochaTest(policy_tests.TestNames.DisableHeaderFooterByPolicy);
});
TEST_F(
'PrintPreviewSettingsSectionsTest', 'DisableMarginsByPagesPerSheet',
function() {
loadTimeData.overrideValues({pagesPerSheetEnabled: true});
this.runMochaTest(
settings_sections_tests.TestNames.DisableMarginsByPagesPerSheet);
});
PrintPreviewSettingsSelectTest = class extends NewPrintPreviewTest {
/** @override */
get browsePreload() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment