Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs |
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs |
index 7ed70f7cf4bc690fd7ee01e4e34a258d858f5d19..2cf8c8eaf4217ecf336e73a674fb13704fb03216 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs |
@@ -83,11 +83,13 @@ TEST_F('BackgroundTest', 'DesktopFocus', function() { |
return null; |
} |
- chrome.automation.getDesktop(function(root) { |
- var testButton = findStatusTray(root); |
- cvox.ChromeVox.tts.expectSpeech('Status tray', testDone); |
- testButton.focus(); |
- }); |
+ chrome.automation.getDesktop(this.continueTest( |
+ WhenTestDone.ASSERT, |
+ function(root) { |
+ var testButton = findStatusTray(root); |
+ cvox.ChromeVox.tts.expectSpeech('Status tray', testDone); |
+ testButton.focus(); |
+ })); |
}); |
/** Tests feedback once a page loads. */ |