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

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

Issue 1060973004: Enable tests related to the extensions web ui that were flaky. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply feedback Created 5 years, 7 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
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 720ecd430baa56ec7bde6d349714c6f7f6af172a..f5b20c0f0155a15904fb58308cdc1f46b22297f9 100644
--- a/chrome/test/data/webui/print_preview.js
+++ b/chrome/test/data/webui/print_preview.js
@@ -187,17 +187,7 @@ PrintPreviewWebUITest.prototype = {
];
this.nativeLayer_ = printPreview.nativeLayer_;
- // Make all transitions and animations take 0ms for testing purposes.
- // Animations still happen and must be waited on.
- var noAnimationStyle = document.createElement('style');
- noAnimationStyle.textContent =
- '* {' +
- ' -webkit-transition-duration: 0ms !important;' +
- ' -webkit-transition-delay: 0ms !important;' +
- ' -webkit-animation-duration: 0ms !important;' +
- ' -webkit-animation-delay: 0ms !important;' +
- '}';
- document.querySelector('head').appendChild(noAnimationStyle);
+ testing.Test.disableAnimationsAndTransitions();
}
};
« no previous file with comments | « chrome/browser/ui/webui/extensions/extension_settings_browsertest.js ('k') | chrome/test/data/webui/test_api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698