Index: dashboard/dashboard/elements/chart-legend-tooltip-test.html |
diff --git a/dashboard/dashboard/elements/chart-legend-tooltip-test.html b/dashboard/dashboard/elements/chart-legend-tooltip-test.html |
index 11060847bf17e236b2f2940f465cca85ffc5dcec..dd9b5648926172df806434498fefee1a1c0f9866 100644 |
--- a/dashboard/dashboard/elements/chart-legend-tooltip-test.html |
+++ b/dashboard/dashboard/elements/chart-legend-tooltip-test.html |
@@ -7,6 +7,7 @@ found in the LICENSE file. |
<link rel="import" href="/dashboard/elements/chart-legend-tooltip.html"> |
<link rel="import" href="/tracing/core/test_utils.html"> |
+<link rel="import" href="/tracing/ui/base/deep_utils.html"> |
<script> |
'use strict'; |
@@ -34,7 +35,7 @@ tr.b.unittest.testSuite(function() { |
Polymer.dom(container).appendChild(legendTooltip); |
this.addHTMLOutput(container); |
- document.getElementById('info').click(); |
+ tr.ui.b.findDeepElementMatching(document.body, '#info').click(); |
}, testOptions); |
}); |
</script> |