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

Unified Diff: chrome/test/data/webui/md_downloads/downloads_browsertest.js

Issue 2651673008: MD Downloads: make browser tests work with !use_vulcanize (Closed)
Patch Set: Created 3 years, 11 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/browser/resources/md_downloads/item.html ('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/md_downloads/downloads_browsertest.js
diff --git a/chrome/test/data/webui/md_downloads/downloads_browsertest.js b/chrome/test/data/webui/md_downloads/downloads_browsertest.js
index 7b793ab4af4c2384c7204403df1f0174e0516324..b0c6979ca644500a8b5c78494c7ce7c843d39e29 100644
--- a/chrome/test/data/webui/md_downloads/downloads_browsertest.js
+++ b/chrome/test/data/webui/md_downloads/downloads_browsertest.js
@@ -15,10 +15,26 @@ GEN_INCLUDE(
* @constructor
* @extends {PolymerTest}
*/
+function DownloadsTest() {}
+
+DownloadsTest.prototype = {
+ __proto__: PolymerTest.prototype,
+
+ /** @override */
+ setUp: function() {
+ PolymerTest.prototype.setUp.call(this);
+ this.accessibilityAuditConfig.ignoreSelectors('humanLangMissing', 'html');
+ },
+};
+
+/**
+ * @constructor
+ * @extends {DownloadsTest}
+ */
function DownloadsItemTest() {}
DownloadsItemTest.prototype = {
- __proto__: PolymerTest.prototype,
+ __proto__: DownloadsTest.prototype,
/** @override */
browsePreload: 'chrome://downloads/item.html',
@@ -33,18 +49,17 @@ TEST_F('DownloadsItemTest', 'All', function() {
mocha.run();
});
-
/**
* @constructor
- * @extends {PolymerTest}
+ * @extends {DownloadsTest}
*/
function DownloadsLayoutTest() {}
DownloadsLayoutTest.prototype = {
- __proto__: PolymerTest.prototype,
+ __proto__: DownloadsTest.prototype,
/** @override */
- browsePreload: 'chrome://downloads/manager.html',
+ browsePreload: 'chrome://downloads/',
/** @override */
extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
@@ -58,12 +73,12 @@ TEST_F('DownloadsLayoutTest', 'All', function() {
/**
* @constructor
- * @extends {PolymerTest}
+ * @extends {DownloadsTest}
*/
function DownloadsToolbarTest() {}
DownloadsToolbarTest.prototype = {
- __proto__: PolymerTest.prototype,
+ __proto__: DownloadsTest.prototype,
/** @override */
browsePreload: 'chrome://downloads/toolbar.html',
« no previous file with comments | « chrome/browser/resources/md_downloads/item.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698