Index: chrome/browser/ui/webui/options/autofill_options_browsertest.js |
diff --git a/chrome/browser/ui/webui/options/autofill_options_browsertest.js b/chrome/browser/ui/webui/options/autofill_options_browsertest.js |
index c21aee8a6d6f8255b8b366fa6cd4e1d699e8d99c..a35a2d2b0a80d651f0ffdc01af156dada0497d10 100644 |
--- a/chrome/browser/ui/webui/options/autofill_options_browsertest.js |
+++ b/chrome/browser/ui/webui/options/autofill_options_browsertest.js |
@@ -47,7 +47,8 @@ TEST_F('AutofillEditAddressWebUITest', |
function() { |
assertEquals(this.browsePreload, document.location.href); |
- var phoneList = $('phone-list'); |
+ var phoneList = |
+ document.querySelector('#autofill-edit-address-overlay [field=phone]'); |
expectEquals(0, phoneList.validationRequests_); |
phoneList.doneValidating().then(function() { |
phoneList.focus(); |