Index: runtime/observatory/tests/observatory_ui/nav/library-menu/element_test.dart |
diff --git a/runtime/observatory/tests/observatory_ui/nav/library-menu/element_test.dart b/runtime/observatory/tests/observatory_ui/nav/library-menu/element_test.dart |
index 86feceaba036ad2d162f9606b0cfd785462e3b40..c56658822ddfa076f2288279a84491b85a054665 100644 |
--- a/runtime/observatory/tests/observatory_ui/nav/library-menu/element_test.dart |
+++ b/runtime/observatory/tests/observatory_ui/nav/library-menu/element_test.dart |
@@ -22,9 +22,9 @@ main() { |
final e = new NavLibraryMenuElement(i_ref, l_ref); |
document.body.append(e); |
await e.onRendered.first; |
- expect(e.shadowRoot.children.length, isNonZero, reason: 'has elements'); |
+ expect(e.children.length, isNonZero, reason: 'has elements'); |
e.remove(); |
await e.onRendered.first; |
- expect(e.shadowRoot.children.length, isZero, reason: 'is empty'); |
+ expect(e.children.length, isZero, reason: 'is empty'); |
}); |
} |