Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs |
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs |
index 90d76a81011941cbfc8d4b22bd0c372f802a7001..0a17f0af7e9bcf6b12cd76ec559a048588ef3848 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs |
@@ -27,7 +27,7 @@ |
}; |
TEST_F('AutomationUtilE2ETest', 'GetAncestors', function() { |
- this.runWithLoadedTree(this.basicDoc, |
+ this.runWithAutomation(this.basicDoc, |
function(root) { |
var expectedLength = 1; |
while (root) { |
@@ -40,7 +40,7 @@ |
}); |
TEST_F('AutomationUtilE2ETest', 'GetUniqueAncestors', function() { |
- this.runWithLoadedTree(this.basicDoc, function(root) { |
+ this.runWithAutomation(this.basicDoc, function(root) { |
var leftmost = root, rightmost = root; |
while (leftmost.firstChild) |
leftmost = leftmost.firstChild; |
@@ -83,7 +83,7 @@ |
}); |
TEST_F('AutomationUtilE2ETest', 'GetDirection', function() { |
- this.runWithLoadedTree(this.basicDoc, function(root) { |
+ this.runWithAutomation(this.basicDoc, function(root) { |
var left = root, right = root; |
// Same node. |