| Index: chrome/test/data/extensions/api_test/automation/tests/tabs/location.js
|
| diff --git a/chrome/test/data/extensions/api_test/automation/tests/tabs/location.js b/chrome/test/data/extensions/api_test/automation/tests/tabs/location.js
|
| index a4e48a51153004add7dbfb4222e6f5198e41cb22..0c583fa826ce9e5e47f50cd0dc6b76f7c107dafd 100644
|
| --- a/chrome/test/data/extensions/api_test/automation/tests/tabs/location.js
|
| +++ b/chrome/test/data/extensions/api_test/automation/tests/tabs/location.js
|
| @@ -5,8 +5,7 @@
|
| var allTests = [
|
| function testLocation() {
|
| function assertOkButtonLocation(event) {
|
| - var okButton = rootNode.find({ role: RoleType.button,
|
| - attributes: { name: 'Ok' }});
|
| + var okButton = rootNode.firstChild.firstChild;
|
| assertTrue('location' in okButton);
|
|
|
| // We can't assert the left and top positions because they're
|
|
|