Commit 3ec812e8 authored by rbpotter's avatar rbpotter Committed by Commit Bot

Print Preview Componentization: Migrate header footer tests

Add a HeaderFooter test to verify that the header footer option appears
and disappears correctly for different margin and paper size settings.
Migrated from tests in print_preview_tests.js.

Bug: 814860
Change-Id: I18012eb26ccd261b94a88f70ef24746e872910ba
Reviewed-on: https://chromium-review.googlesource.com/1013301
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#551780}
parent bd0c79c3
...@@ -97,6 +97,10 @@ TEST_F('PrintPreviewSettingsSectionsTest', 'Other', function() { ...@@ -97,6 +97,10 @@ TEST_F('PrintPreviewSettingsSectionsTest', 'Other', function() {
this.runMochaTest(settings_sections_tests.TestNames.Other); this.runMochaTest(settings_sections_tests.TestNames.Other);
}); });
TEST_F('PrintPreviewSettingsSectionsTest', 'HeaderFooter', function() {
this.runMochaTest(settings_sections_tests.TestNames.HeaderFooter);
});
TEST_F('PrintPreviewSettingsSectionsTest', 'SetPages', function() { TEST_F('PrintPreviewSettingsSectionsTest', 'SetPages', function() {
this.runMochaTest(settings_sections_tests.TestNames.SetPages); this.runMochaTest(settings_sections_tests.TestNames.SetPages);
}); });
......
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