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

Unified Diff: chrome/test/data/extensions/api_test/automation/tests/tabs/location2.js

Issue 2649373002: Re-land: Update json_schema_compiler to handle the Automation extension API (Closed)
Patch Set: Fix presubmit 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
Index: chrome/test/data/extensions/api_test/automation/tests/tabs/location2.js
diff --git a/chrome/test/data/extensions/api_test/automation/tests/tabs/location2.js b/chrome/test/data/extensions/api_test/automation/tests/tabs/location2.js
index 3ccd4e51e5e7ad44eb74b7e7a01a4e5291b4a39e..3812d39886428659d1c6edaa5ad35ba99e3976f0 100644
--- a/chrome/test/data/extensions/api_test/automation/tests/tabs/location2.js
+++ b/chrome/test/data/extensions/api_test/automation/tests/tabs/location2.js
@@ -7,7 +7,7 @@ var allTests = [
// automation API was returning the wrong location for an element.
// See ../../sites/location2.html for the layout.
function testLocation2() {
- var textbox = rootNode.find({ role: RoleType.textField });
+ var textbox = rootNode.find({ role: RoleType.TEXT_FIELD });
assertEq(0, textbox.location.left - rootNode.location.left);
assertEq(100, textbox.location.top - rootNode.location.top);
chrome.test.succeed();

Powered by Google App Engine
This is Rietveld 408576698