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

Unified Diff: chrome/test/data/webui/print_preview.js

Issue 7304014: Made Print Preview tests autogenerated from print_preview.js. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added DEPS file to allow generated js2webui files to be included. Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fba58537da0ce909edded75d0e161d2772d54060..beb1c14fa99de9994995b9de3285b0514197c330 100644
--- a/chrome/test/data/webui/print_preview.js
+++ b/chrome/test/data/webui/print_preview.js
@@ -70,13 +70,8 @@
})();
// Tests.
-function testPrintPreview(printEnabled) {
- var printButton = $('print-button');
- assertTrue(printButton != null, 'printButton != null');
- var cancelButton = $('cancel-button');
- assertTrue(cancelButton != null, 'cancelButton != null');
+function FLAKY_TestPrinterList() {
var printer_list = $('printer-list');
- assertTrue(printEnabled, 'printEnabled');
assertTrue(!!printer_list, 'printer_list');
assertTrue(printer_list.options.length >= 2, 'printer-list has at least 2');
expectEquals('FooName', printer_list.options[0].text, '0 text is FooName');
@@ -86,3 +81,6 @@ function testPrintPreview(printEnabled) {
expectEquals('BarDevice', printer_list.options[1].value,
'1 value is BarDevice');
}
+
+var test_fixture = 'PrintPreviewWebUITest';
+var test_add_library = false;
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698