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

Unified Diff: runtime/observatory/tests/observatory_ui/ports/element_test.dart

Issue 2995923002: Restore "Speedup Observatory elements first time rendering" (Closed)
Patch Set: Created 3 years, 4 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
« no previous file with comments | « runtime/observatory/tests/observatory_ui/observatory_ui.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/observatory_ui/ports/element_test.dart
diff --git a/runtime/observatory/tests/observatory_ui/ports/element_test.dart b/runtime/observatory/tests/observatory_ui/ports/element_test.dart
index 54af9d2335542e5daec98f230fde98d0d7f20566..a78a6d2f855fb10627f8f878e5a931cbf41a1ab8 100644
--- a/runtime/observatory/tests/observatory_ui/ports/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/ports/element_test.dart
@@ -39,6 +39,7 @@ main() {
document.body.append(e);
await e.onRendered.first;
expect(e.children.length, isNonZero, reason: 'has elements');
+ await e.onRendered.first;
expect(e.querySelectorAll('.port-number').length, equals(elements.length));
e.remove();
await e.onRendered.first;
« no previous file with comments | « runtime/observatory/tests/observatory_ui/observatory_ui.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698