Chromium Code Reviews| Index: chrome/browser/ui/webui/options/options_browsertest.js |
| diff --git a/chrome/browser/ui/webui/options/options_browsertest.js b/chrome/browser/ui/webui/options/options_browsertest.js |
| index a8c6b5898cef1ac1a894fc1a54c5504ba063df71..367730ab35110d25e4f34095ea42c9776cc1e88a 100644 |
| --- a/chrome/browser/ui/webui/options/options_browsertest.js |
| +++ b/chrome/browser/ui/webui/options/options_browsertest.js |
| @@ -46,6 +46,9 @@ OptionsWebUITest.prototype = { |
| __proto__: testing.Test.prototype, |
| /** @override */ |
| + runAccessibilityChecks: true, |
| + |
| + /** @override */ |
| accessibilityIssuesAreErrors: true, |
| /** @override */ |
| @@ -380,6 +383,12 @@ OptionsWebUIExtendedTest.prototype = { |
| isAsync: true, |
| /** @override */ |
| + runAccessibilityChecks: true, |
| + |
| + /** @override */ |
| + accessibilityIssuesAreErrors: true, |
| + |
| + /** @override */ |
| setUp: function() { |
| // user-image-stream is a streaming video element used for capturing a |
| // user image during OOBE. |
| @@ -708,7 +717,17 @@ TEST_F('OptionsWebUIExtendedTest', 'CloseOverlayWithHashes', function() { |
| this.verifyHistory_( |
| ['', 'search#1', 'languages#2', 'addLanguage#3', 'languages#2', |
| 'search#1'], |
| - testDone); |
| + function() { |
|
Dan Beam
2014/10/21 23:13:56
function() {
document.addEventListener('webkitTr
hcarmona
2014/10/22 17:36:20
Done.
|
| + var done = false; |
| + document.addEventListener( |
| + 'webkitTransitionEnd', |
| + function finishTest(e) { |
| + if (!done) { |
| + done = true; |
| + testDone(); |
| + } |
| + }); |
| + }); |
| }.bind(this)); |
| }.bind(this)); |
| }); |